Passed
Push — master ( 91b250...4b0bba )
by Mihail
14:29
created
Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,5 +61,5 @@
 block discarded – undo
61 61
      *
62 62
      * @return void
63 63
      */
64
-    public function exception(Throwable $e, Processor|null $processor = null): void;
64
+    public function exception(Throwable $e, Processor | null $processor = null): void;
65 65
 }
Please login to merge, or discard this patch.
Log.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         }
87 87
     }
88 88
 
89
-    public function log($level, string|Stringable $message, array $context = []): void
89
+    public function log($level, string | Stringable $message, array $context = []): void
90 90
     {
91 91
         try {
92 92
             $levelName = strtoupper($level);
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         return $this;
120 120
     }
121 121
 
122
-    public function exception(Throwable $e, Processor|null $processor = null): void
122
+    public function exception(Throwable $e, Processor | null $processor = null): void
123 123
     {
124 124
         $this->attach($processor ??= new Cli([]));
125 125
         $this->critical($e->getMessage() . PHP_EOL . ' [Trace]: ' . $e->getTraceAsString());
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      *
135 135
      * @return string
136 136
      */
137
-    private function formatMessage(object|string $message, array $params = []): string
137
+    private function formatMessage(object | string $message, array $params = []): string
138 138
     {
139 139
         $replacements = [];
140 140
         foreach ($params as $k => $v) {
Please login to merge, or discard this patch.