Skip to content

Commit 443e460

Browse files
authored
Convert to native type hint
1 parent 83acb6c commit 443e460

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Test/TestLogger.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,7 @@ private function interpolate($message, array $context = []): string
427427
return strtr($message, $replace);
428428
}
429429

430-
/**
431-
* @param mixed $level
432-
*/
433-
private static function normalizeLevel($level): int|string
430+
private static function normalizeLevel(mixed $level): int|string
434431
{
435432
if ($level instanceof \UnitEnum) {
436433
$level = $level->value;

0 commit comments

Comments
 (0)