|
@@ -75,7 +75,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
} |
Please login to merge, or discard this patch.