mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 17:16:18 +02:00
Switch to DateTimeImmutable everywhere
This commit is contained in:
@@ -104,7 +104,7 @@ class WildfireFormatter extends NormalizerFormatter
|
||||
|
||||
protected function normalize($data)
|
||||
{
|
||||
if (is_object($data) && !$data instanceof \DateTime) {
|
||||
if (is_object($data) && !$data instanceof \DateTimeInterface) {
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user