@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Toolbelt\Commands; |
6 | 6 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | $logger = $this->kernel->resolve(Logger::class); |
34 | 34 | |
35 | 35 | /** @var StreamHandler|null $handler */ |
36 | - $handler = collect($logger->getHandlers())->first(function (HandlerInterface $item) { |
|
36 | + $handler = collect($logger->getHandlers())->first(function(HandlerInterface $item) { |
|
37 | 37 | return $item instanceof StreamHandler; |
38 | 38 | }); |
39 | 39 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | |
45 | 45 | $command = 'tail -f -n 1000 '.escapeshellarg($handler->getUrl()); |
46 | 46 | |
47 | - (new Process($command))->setTimeout(null)->run(function ($type, $line) { |
|
47 | + (new Process($command))->setTimeout(null)->run(function($type, $line) { |
|
48 | 48 | $this->line($line); |
49 | 49 | }); |
50 | 50 | } |