X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FCommand%2FListCommand%2FFunctionEnumerator.php;fp=vendor%2Fpsy%2Fpsysh%2Fsrc%2FCommand%2FListCommand%2FFunctionEnumerator.php;h=6c3fa5ea9231926df3b1d7c17d3be46bed5d882c;hp=733055a60a8ab7b28a595aa8ffe2b121c2cc48a9;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/psy/psysh/src/Command/ListCommand/FunctionEnumerator.php b/vendor/psy/psysh/src/Command/ListCommand/FunctionEnumerator.php index 733055a60..6c3fa5ea9 100644 --- a/vendor/psy/psysh/src/Command/ListCommand/FunctionEnumerator.php +++ b/vendor/psy/psysh/src/Command/ListCommand/FunctionEnumerator.php @@ -74,12 +74,12 @@ class FunctionEnumerator extends Enumerator */ protected function getFunctions($type = null) { - $funcs = get_defined_functions(); + $funcs = \get_defined_functions(); if ($type) { return $funcs[$type]; } else { - return array_merge($funcs['internal'], $funcs['user']); + return \array_merge($funcs['internal'], $funcs['user']); } } @@ -92,7 +92,7 @@ class FunctionEnumerator extends Enumerator */ protected function prepareFunctions(array $functions) { - natcasesort($functions); + \natcasesort($functions); // My kingdom for a generator. $ret = [];