X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FTabCompletion%2FMatcher%2FFunctionsMatcher.php;h=aa37f88352c252b837893c77dd9ac4a46c6d7743;hp=b1678b3eddda9324478c1eb41ad32b6aa988fac8;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php b/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php index b1678b3ed..aa37f8835 100644 --- a/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php +++ b/vendor/psy/psysh/src/Psy/TabCompletion/Matcher/FunctionsMatcher.php @@ -27,7 +27,7 @@ class FunctionsMatcher extends AbstractMatcher { $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 @@ class FunctionsMatcher extends AbstractMatcher */ public function hasMatched(array $tokens) { - $token = array_pop($tokens); + $token = array_pop($tokens); $prevToken = array_pop($tokens); switch (true) {