Skip to content

Commit 06e9555

Browse files
committed
Normalizing recursively - see #9096
1 parent 8af056e commit 06e9555

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Logger/DbalLogger.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ protected function log($message, array $params)
8282
private function normalizeParams(array $params)
8383
{
8484
foreach ($params as $index => $param) {
85+
// normalize recursively
86+
if (is_array($param)) {
87+
$params[$index] = $this->normalizeParams($param);
88+
continue;
89+
}
90+
8591
if (!is_string($params[$index])) {
8692
continue;
8793
}

0 commit comments

Comments
 (0)