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-11-11 18:34:16 +01:00
5 changed files with 135 additions and 39 deletions

View File

@@ -137,7 +137,7 @@ class JsonFormatter extends NormalizerFormatter
return 'Over '.$this->maxNormalizeDepth.' levels deep, aborting normalization';
}
if (is_array($data) || $data instanceof \Traversable) {
if (is_array($data)) {
$normalized = [];
$count = 1;