Skip to content

Commit 25ba38e

Browse files
authored
fix trim null arg deprecation (#55649)
1 parent 1d4667d commit 25ba38e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Illuminate/Log/LogManager.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,10 @@ protected function parseDriver($driver)
628628
$driver ??= 'null';
629629
}
630630

631+
if ($driver === null) {
632+
return null;
633+
}
634+
631635
return trim($driver);
632636
}
633637

0 commit comments

Comments
 (0)