Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / src / CodeCleaner / PassableByReferencePass.php
index 4380eef2d6fa598fac4ba3002169e35667fd66f6..5b5dc0868b4f7644da059431da8aa2b5d092ac2e 100644 (file)
@@ -56,7 +56,7 @@ class PassableByReferencePass extends CodeCleanerPass
             }
 
             foreach ($refl->getParameters() as $key => $param) {
-                if (array_key_exists($key, $node->args)) {
+                if (\array_key_exists($key, $node->args)) {
                     $arg = $node->args[$key];
                     if ($param->isPassedByReference() && !$this->isPassableByReference($arg)) {
                         throw new FatalErrorException(self::EXCEPTION_MESSAGE, 0, E_ERROR, null, $node->getLine());