Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / http-foundation / IpUtils.php
index 86d135b2d3afd8e0fb65470ae691439811be9a2d..a1bfa90885dcfb9204f220aab5a57b1fcfff21b1 100644 (file)
@@ -37,7 +37,7 @@ class IpUtils
      */
     public static function checkIp($requestIp, $ips)
     {
-        if (!is_array($ips)) {
+        if (!\is_array($ips)) {
             $ips = array($ips);
         }
 
@@ -116,7 +116,7 @@ class IpUtils
             return self::$checkedIps[$cacheKey];
         }
 
-        if (!((extension_loaded('sockets') && defined('AF_INET6')) || @inet_pton('::1'))) {
+        if (!((\extension_loaded('sockets') && \defined('AF_INET6')) || @inet_pton('::1'))) {
             throw new \RuntimeException('Unable to check Ipv6. Check that PHP was not compiled with option "disable-ipv6".');
         }