Skip to content

Commit 1a19ccb

Browse files
committed
Fix bug with connected check
1 parent 68ba18b commit 1a19ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/SSHConnection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class SSHConnection
1313
private $password;
1414
private $publicKeyPath;
1515
private $privateKeyPath;
16-
private $connected;
16+
private $connected = false;
1717
private $resource;
1818

1919
public function to(string $hostname): self

0 commit comments

Comments
 (0)