mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 05:29:53 +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)));
|
||||
}
|
||||
|
||||
|
||||
2
vendor/symfony/polyfill-php70/composer.json
vendored
2
vendor/symfony/polyfill-php70/composer.json
vendored
@@ -27,7 +27,7 @@
|
||||
"minimum-stability": "dev",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.7-dev"
|
||||
"dev-master": "1.8-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user