composer update
This commit is contained in:
13
vendor/symfony/polyfill-php73/Php73.php
vendored
13
vendor/symfony/polyfill-php73/Php73.php
vendored
@@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* 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) {
|
||||
|
||||
1
vendor/symfony/polyfill-php73/bootstrap.php
vendored
1
vendor/symfony/polyfill-php73/bootstrap.php
vendored
@@ -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); }
|
||||
}
|
||||
|
||||
2
vendor/symfony/polyfill-php73/composer.json
vendored
2
vendor/symfony/polyfill-php73/composer.json
vendored
@@ -26,7 +26,7 @@
|
||||
"minimum-stability": "dev",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.11-dev"
|
||||
"dev-master": "1.13-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user