Skip to content

Commit

Permalink
Merge pull request #2 from taylornetwork/analysis-qoRbZ7
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
itssamtaylor authored Feb 18, 2019
2 parents 2896ced + 802c0a2 commit 12567d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Commands/SFTPCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->sftp = new SFTP();
$this->sftp->setURL($connection['url'])->setCredentials($connection['credentials']);

if(isset($connection['keyFile'])) {
if (isset($connection['keyFile'])) {
$this->sftp->setKeyFile($connection['keyFile']);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SSHCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->ssh = new SSH();
$this->ssh->setURL($connection['url'])->setCredentials($connection['credentials']);

if(isset($connection['keyFile'])) {
if (isset($connection['keyFile'])) {
$this->ssh->setKeyFile($connection['keyFile']);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Tunnel/Tunnel.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Tunnel
public $action;

/**
* Key file
* Key file.
*
* @var string
*/
Expand Down Expand Up @@ -96,7 +96,7 @@ public function buildCommand()
$command = $this->action.' ';

if ($this->keyFile) {
$command .= '-i '.$this->keyFile.' ';
$command .= '-i '.$this->keyFile.' ';
}

if (isset($this->credentials['username'])) {
Expand Down

0 comments on commit 12567d7

Please sign in to comment.