File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function detach(Processor $processor): Logger
119119 return $ this ;
120120 }
121121
122- public function exception (Throwable $ e , Processor $ processor = null ): void
122+ public function exception (Throwable $ e , Processor | null $ processor = null ): void
123123 {
124124 $ this ->attach ($ processor ??= new Cli ([]));
125125 $ this ->critical ($ e ->getMessage () . PHP_EOL . ' [Trace]: ' . $ e ->getTraceAsString ());
Original file line number Diff line number Diff line change @@ -61,5 +61,5 @@ public function detach(Processor $processor): Logger;
6161 *
6262 * @return void
6363 */
64- public function exception (Throwable $ e , Processor $ processor = null ): void ;
64+ public function exception (Throwable $ e , Processor | null $ processor = null ): void ;
6565}
Original file line number Diff line number Diff line change 1- 3.3.0
1+ 3.3.1
You can’t perform that action at this time.
0 commit comments