Test Setup Failed
Branch master (a0b0eb)
by Akshay
09:02
created
Category
src/Logger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         return $formattedMessage;
29 29
     }
30 30
 
31
-    public function log($logLevel, $message, array $context = [])
31
+    public function log($logLevel, $message, array $context = [ ])
32 32
     {
33 33
         $consoleFunctionMap = [
34 34
             'emergency' => 'error',
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         ];
43 43
         $message = $this->formatMessage($message, $logLevel, $context);
44 44
         echo "<script>";
45
-        echo sprintf("console.%s('%s');", $consoleFunctionMap[$logLevel], $message);
45
+        echo sprintf("console.%s('%s');", $consoleFunctionMap[ $logLevel ], $message);
46 46
         echo "</script>";
47 47
     }
48 48
 
Please login to merge, or discard this patch.