mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-25 02:26:16 +02:00
Add phpstan strict rules and deprecation rules, fix all related issues
This commit is contained in:
@@ -254,7 +254,7 @@ class NormalizerFormatter implements FormatterInterface
|
||||
}
|
||||
}
|
||||
|
||||
if ($previous = $e->getPrevious()) {
|
||||
if (($previous = $e->getPrevious()) instanceof \Throwable) {
|
||||
$data['previous'] = $this->normalizeException($previous, $depth + 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user