From f7cb9c99bc53e67b7c0f51fa17044ac4e7892798 Mon Sep 17 00:00:00 2001 From: Sonny Kieu Date: Tue, 31 Mar 2026 12:34:01 +0700 Subject: [PATCH] 12.x backport - #6547: Change method visility to track upstream (psysh) (#6538) --- src/Psysh/Shell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);