From f8a5f4cc875c1af9415dbd10973d827d4618a996 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 25 Aug 2019 19:22:36 +0100 Subject: Update vendor dependencies --- vendor/symfony/polyfill-php73/Php73.php | 13 +++++++++++-- vendor/symfony/polyfill-php73/bootstrap.php | 1 + vendor/symfony/polyfill-php73/composer.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) (limited to 'vendor/symfony/polyfill-php73') diff --git a/vendor/symfony/polyfill-php73/Php73.php b/vendor/symfony/polyfill-php73/Php73.php index aa3708f64f..7c99d1972a 100644 --- a/vendor/symfony/polyfill-php73/Php73.php +++ b/vendor/symfony/polyfill-php73/Php73.php @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + namespace Symfony\Polyfill\Php73; /** @@ -19,8 +28,8 @@ final class Php73 */ public static function hrtime($asNum = false) { - $ns = \microtime(false); - $s = \substr($ns, 11) - self::$startAt; + $ns = microtime(false); + $s = substr($ns, 11) - self::$startAt; $ns = 1E9 * (float) $ns; if ($asNum) { diff --git a/vendor/symfony/polyfill-php73/bootstrap.php b/vendor/symfony/polyfill-php73/bootstrap.php index 049b8bb8aa..4c3f44f6bf 100644 --- a/vendor/symfony/polyfill-php73/bootstrap.php +++ b/vendor/symfony/polyfill-php73/bootstrap.php @@ -17,6 +17,7 @@ if (PHP_VERSION_ID < 70300) { } if (!function_exists('hrtime')) { + require_once __DIR__.'/Php73.php'; p\Php73::$startAt = (int) microtime(true); function hrtime($asNum = false) { return p\Php73::hrtime($asNum); } } diff --git a/vendor/symfony/polyfill-php73/composer.json b/vendor/symfony/polyfill-php73/composer.json index e98167ed51..92808af8f9 100644 --- a/vendor/symfony/polyfill-php73/composer.json +++ b/vendor/symfony/polyfill-php73/composer.json @@ -26,7 +26,7 @@ "minimum-stability": "dev", "extra": { "branch-alias": { - "dev-master": "1.11-dev" + "dev-master": "1.12-dev" } } } -- cgit v1.3