Normalizing recursively - see #9096
This commit is contained in:
parent
8edd4c6ffb
commit
1882a2ae47
@ -82,6 +82,12 @@ class DbalLogger implements SQLLogger
|
||||
private function normalizeParams(array $params)
|
||||
{
|
||||
foreach ($params as $index => $param) {
|
||||
// normalize recursively
|
||||
if (is_array($param)) {
|
||||
$params[$index] = $this->normalizeParams($param);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!is_string($params[$index])) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user