Skip to content

Commit

Permalink
Update RemoteCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored Jun 10, 2022
1 parent 09a417e commit 508d33d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Commands/RemoteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -91,7 +87,7 @@ private function failsConfirmationPrompt(HostConfig $hostConfig): ?bool
);
}

private function failedConfirmationPromptOutput(): int
protected function failedConfirmationPromptOutput(): int
{
$this->error('Remote command aborted');

Expand Down

0 comments on commit 508d33d

Please sign in to comment.