Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / psy / psysh / src / Command / ListCommand / MethodEnumerator.php
index ebe43afad071b7425e47f358a71acc02abc920e7..49d7e104e940f2a7cde9967cacd093d7b2db01d1 100644 (file)
@@ -77,7 +77,7 @@ class MethodEnumerator extends Enumerator
             }
         }
 
-        ksort($methods, SORT_NATURAL | SORT_FLAG_CASE);
+        \ksort($methods, SORT_NATURAL | SORT_FLAG_CASE);
 
         return $methods;
     }
@@ -118,7 +118,7 @@ class MethodEnumerator extends Enumerator
     {
         if ($reflector->isInterface()) {
             return 'Interface Methods';
-        } elseif (method_exists($reflector, 'isTrait') && $reflector->isTrait()) {
+        } elseif (\method_exists($reflector, 'isTrait') && $reflector->isTrait()) {
             return 'Trait Methods';
         } else {
             return 'Class Methods';