Skip to content

Commit 4b0bba4

Browse files
committed
- fix: implicitly nullable parameter type updated with explicit type
1 parent 0289813 commit 4b0bba4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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());

Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.3.1

0 commit comments

Comments
 (0)