diff --git a/src/Infrastructure/Cli/Ssh.php b/src/Infrastructure/Cli/Ssh.php index a2dfc94..e231f65 100644 --- a/src/Infrastructure/Cli/Ssh.php +++ b/src/Infrastructure/Cli/Ssh.php @@ -49,7 +49,7 @@ public function exec(string $command, string $username, ?string $password = null return $output; } - public function getAuthenticatedConnection(string $username, ?$password = null) + public function getAuthenticatedConnection(string $username, ?string $password = null) { $connection = ssh2_connect($this->host, $this->port);