diff --git a/src/Commands/RemoteCommand.php b/src/Commands/RemoteCommand.php index 8893369..506439a 100644 --- a/src/Commands/RemoteCommand.php +++ b/src/Commands/RemoteCommand.php @@ -76,11 +76,7 @@ protected function displayOutput($type, $line): void } } - /** - * @param HostConfig $hostConfig - * @return bool|null - */ - private function failsConfirmationPrompt(HostConfig $hostConfig): ?bool + protected function failsConfirmationPrompt(HostConfig $hostConfig): ?bool { if (!config('remote.needs_confirmation')) { return false; @@ -91,7 +87,7 @@ private function failsConfirmationPrompt(HostConfig $hostConfig): ?bool ); } - private function failedConfirmationPromptOutput(): int + protected function failedConfirmationPromptOutput(): int { $this->error('Remote command aborted');