Skip to content

Commit

Permalink
fix error reported by PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
petrparolek authored and f3l1x committed Dec 30, 2021
1 parent 2b926f8 commit 8850aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function getExceptionFile(Throwable $exception): string
$exception->getCode(),
$exception->getFile(),
$exception->getLine(),
array_map(function ($item) {
array_map(function ($item): array {
unset($item['args']);

return $item;
Expand Down

0 comments on commit 8850aeb

Please sign in to comment.