Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6d0e293

Browse files
Update and apply CS rules
1 parent 8c0d39c commit 6d0e293

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎Php73.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public static function hrtime($asNum = false)
3838
return \PHP_INT_SIZE === 4 ? $ns : (int) $ns;
3939
}
4040

41-
return array($s, (int) $ns);
41+
return [$s, (int) $ns];
4242
}
4343
}

‎bootstrap.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
use Symfony\Polyfill\Php73 as p;
1313

14-
if (PHP_VERSION_ID >= 70300) {
14+
if (\PHP_VERSION_ID >= 70300) {
1515
return;
1616
}
1717

@@ -21,7 +21,7 @@ function is_countable($value) { return is_array($value) || $value instanceof Cou
2121
if (!function_exists('hrtime')) {
2222
require_once __DIR__.'/Php73.php';
2323
p\Php73::$startAt = (int) microtime(true);
24-
function hrtime($as_number = false) { return p\Php73::hrtime($as_number); }
24+
function hrtime($as_number = false) { return p\Php73::hrtime($as_number); }
2525
}
2626
if (!function_exists('array_key_first')) {
2727
function array_key_first(array $array) { foreach ($array as $key => $value) { return $key; } }

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /