Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a19ccb

Browse files
committedAug 7, 2019
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
 

‎src/SSHConnection.php

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.