@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * Get the services provided by the provider. |
| 47 | 47 | * |
| 48 | - * @return array |
|
| 48 | + * @return string[] |
|
| 49 | 49 | */ |
| 50 | 50 | public function provides() |
| 51 | 51 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | { |
| 76 | 76 | $connectionParameters = config('tail.connections.'.$connection); |
| 77 | 77 | |
| 78 | - $port = isset($connectionParameters['port'])?$connectionParameters['port']: '22'; |
|
| 78 | + $port = isset($connectionParameters['port']) ? $connectionParameters['port'] : '22'; |
|
| 79 | 79 | |
| 80 | 80 | $portCommand = isset($connectionParameters['port']) |
| 81 | 81 | ? "-p {$connectionParameters['port']}" |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | { |
| 100 | 100 | $output = $this->output; |
| 101 | 101 | |
| 102 | - (new Process($command))->setTimeout(null)->run(function ($type, $line) use ($output) { |
|
| 102 | + (new Process($command))->setTimeout(null)->run(function($type, $line) use ($output) { |
|
| 103 | 103 | $output->write($line); |
| 104 | 104 | }); |
| 105 | 105 | } |