aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/HTTP/HTTPClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/HTTP/HTTPClient.php')
-rw-r--r--inc/HTTP/HTTPClient.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/HTTP/HTTPClient.php b/inc/HTTP/HTTPClient.php
index 963091856..188390b91 100644
--- a/inc/HTTP/HTTPClient.php
+++ b/inc/HTTP/HTTPClient.php
@@ -752,8 +752,7 @@ class HTTPClient {
* @return float
*/
protected static function time(){
- list($usec, $sec) = explode(" ", microtime());
- return ((float)$usec + (float)$sec);
+ return microtime(true);
}
/**