1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2019-12-20 14:53:43 +01:00
4 changed files with 28 additions and 14 deletions

View File

@@ -157,6 +157,10 @@ class JsonFormatter extends NormalizerFormatter
return $this->normalizeException($data, $depth);
}
if (is_resource($data)) {
return parent::normalize($data);
}
return $data;
}