diff vendor/symfony/polyfill-php70/Php70.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children 129ea1e6d783
line wrap: on
line diff
--- a/vendor/symfony/polyfill-php70/Php70.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/vendor/symfony/polyfill-php70/Php70.php	Tue Jul 10 15:07:59 2018 +0100
@@ -60,12 +60,12 @@
         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)));
         }