Skip to content

Commit

Permalink
Fix bug with connected check
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed Aug 7, 2019
1 parent 68ba18b commit 1a19ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SSHConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SSHConnection
private $password;
private $publicKeyPath;
private $privateKeyPath;
private $connected;
private $connected = false;
private $resource;

public function to(string $hostname): self
Expand Down

0 comments on commit 1a19ccb

Please sign in to comment.