diff vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php	Fri Feb 23 15:51:18 2018 +0000
+++ b/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php	Fri Feb 23 15:52:07 2018 +0000
@@ -27,7 +27,7 @@
     {
         $func = $this->getInput($tokens);
 
-        $functions = get_defined_functions();
+        $functions    = get_defined_functions();
         $allFunctions = array_merge($functions['user'], $functions['internal']);
 
         return array_filter($allFunctions, function ($function) use ($func) {
@@ -40,7 +40,7 @@
      */
     public function hasMatched(array $tokens)
     {
-        $token = array_pop($tokens);
+        $token     = array_pop($tokens);
         $prevToken = array_pop($tokens);
 
         switch (true) {