@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | protected function handleClearOption() |
30 | 30 | { |
31 | - if (! $this->option('clear')) { |
|
31 | + if (!$this->option('clear')) { |
|
32 | 32 | return; |
33 | 33 | } |
34 | 34 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | Process::fromShellCommandline($this->getTailCommand(), $logDirectory) |
43 | 43 | ->setTty(true) |
44 | 44 | ->setTimeout(null) |
45 | - ->run(function ($type, $line) { |
|
45 | + ->run(function($type, $line) { |
|
46 | 46 | $this->handleClearOption(); |
47 | 47 | |
48 | 48 | $this->output->write($line); |
@@ -54,8 +54,8 @@ discard block |
||
54 | 54 | $environmentConfig = $this->getEnvironmentConfiguration($environment); |
55 | 55 | |
56 | 56 | Ssh::create($environmentConfig['user'], $environmentConfig['host']) |
57 | - ->configureProcess(fn (Process $process) => $process->setTty(true)) |
|
58 | - ->onOutput(function ($type, $line) { |
|
57 | + ->configureProcess(fn(Process $process) => $process->setTty(true)) |
|
58 | + ->onOutput(function($type, $line) { |
|
59 | 59 | $this->handleClearOption(); |
60 | 60 | |
61 | 61 | $this->output->write($line); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | { |
71 | 71 | $config = config('tail'); |
72 | 72 | |
73 | - if (! isset($config[$environment])) { |
|
73 | + if (!isset($config[$environment])) { |
|
74 | 74 | throw new Exception("No configuration set for environment `{$environment}`. Make sure this environment is specified in the `tail` config file!"); |
75 | 75 | } |
76 | 76 |