Skip to content

Commit

Permalink
Merge branch 'release/1.1.0' Close #2
Browse files Browse the repository at this point in the history
  • Loading branch information
bubba-h57 committed Feb 14, 2017
2 parents 4741acf + 2b59dbb commit 946ad5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ We had a similar challenge, specifically accessing a MySQL database over an SSH

So we wrote this package. We hope you enjoy it!

## Requirements
This package has been tested against Laravel/Lumen versions 5.2. 5.3, and 5.4.

We do not support version <=5.1.

## Installation

```
composer require stechstudio/laravel-ssh-tunnel
```
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@
}
],
"minimum-stability": "dev",
"require": {}
"require": {
"illuminate/support": "5.2.x|5.3.x|5.4.x"
}
}
4 changes: 2 additions & 2 deletions src/Jobs/CreateTunnel.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected function createTunnel()
* Verifies whether the tunnel is active or not.
* @return bool
*/
protected function verifyTunnel(): bool
protected function verifyTunnel()
{
return $this->runCommand($this->ncCommand);
}
Expand All @@ -83,7 +83,7 @@ protected function verifyTunnel(): bool
* @param $command
* @return bool
*/
protected function runCommand($command): bool
protected function runCommand($command)
{
$return_var = 1;
exec($command, $this->output, $return_var);
Expand Down

0 comments on commit 946ad5b

Please sign in to comment.