Completed
Push — master ( 59348b...16687c )
by Vladimir
02:53
created
src/Toolbelt/Commands/Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.