diff --git a/src/Psysh/Shell.php b/src/Psysh/Shell.php index d850aff8b8..e94b3f6e64 100644 --- a/src/Psysh/Shell.php +++ b/src/Psysh/Shell.php @@ -30,7 +30,7 @@ protected function getCommand(string $input) * * @return bool True if the shell has a command for the given input. */ - protected function hasCommand(string $input): bool + public function hasCommand(string $input): bool { if ($name = $this->getCommandFromInput($input)) { return $this->has($name);