Skip to content

Commit

Permalink
HttpClient::time use microtime(true) directly
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 5, 2023
1 parent fac3e3e commit 88743d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inc/HTTP/HTTPClient.php
Expand Up @@ -752,8 +752,7 @@ protected function debugText($info, $var=null){
* @return float
*/
protected static function time(){
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
return microtime(true);
}

/**
Expand Down

0 comments on commit 88743d1

Please sign in to comment.