Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / src / Reflection / ReflectionLanguageConstructParameter.php
index af1f4cb48923b80406319dd163d790201631dc5e..9161aa78b52a1bc9afd7a3d99d64649273e2011b 100644 (file)
@@ -44,7 +44,7 @@ class ReflectionLanguageConstructParameter extends \ReflectionParameter
      */
     public function isArray()
     {
-        return array_key_exists('isArray', $this->opts) && $this->opts['isArray'];
+        return \array_key_exists('isArray', $this->opts) && $this->opts['isArray'];
     }
 
     /**
@@ -76,7 +76,7 @@ class ReflectionLanguageConstructParameter extends \ReflectionParameter
      */
     public function isOptional()
     {
-        return array_key_exists('isOptional', $this->opts) && $this->opts['isOptional'];
+        return \array_key_exists('isOptional', $this->opts) && $this->opts['isOptional'];
     }
 
     /**
@@ -86,7 +86,7 @@ class ReflectionLanguageConstructParameter extends \ReflectionParameter
      */
     public function isDefaultValueAvailable()
     {
-        return array_key_exists('defaultValue', $this->opts);
+        return \array_key_exists('defaultValue', $this->opts);
     }
 
     /**
@@ -98,6 +98,6 @@ class ReflectionLanguageConstructParameter extends \ReflectionParameter
      */
     public function isPassedByReference()
     {
-        return array_key_exists('isPassedByReference', $this->opts) && $this->opts['isPassedByReference'];
+        return \array_key_exists('isPassedByReference', $this->opts) && $this->opts['isPassedByReference'];
     }
 }