mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-04 22:13:54 +09:00
Dependency updates and update version number
This commit is contained in:
6
vendor/symfony/polyfill-php70/Php70.php
vendored
6
vendor/symfony/polyfill-php70/Php70.php
vendored
@@ -60,12 +60,12 @@ final class Php70
|
||||
restore_error_handler();
|
||||
}
|
||||
|
||||
public static function intArg($value, $caller, $pos)
|
||||
private static function intArg($value, $caller, $pos)
|
||||
{
|
||||
if (is_int($value)) {
|
||||
if (\is_int($value)) {
|
||||
return $value;
|
||||
}
|
||||
if (!is_numeric($value) || PHP_INT_MAX <= ($value += 0) || ~PHP_INT_MAX >= $value) {
|
||||
if (!\is_numeric($value) || PHP_INT_MAX <= ($value += 0) || ~PHP_INT_MAX >= $value) {
|
||||
throw new \TypeError(sprintf('%s() expects parameter %d to be integer, %s given', $caller, $pos, gettype($value)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user