Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit215dc5f

Browse files
committed
Fix type error
1 parent57d73fc commit215dc5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ private function sanitizeQuery($connectionName, $query)
138138
if (!\is_array($query['params'])) {
139139
$query['params'] = [$query['params']];
140140
}
141+
if (!\is_array($query['types'])) {
142+
$query['types'] = [];
143+
}
141144
foreach ($query['params']as$j =>$param) {
142145
if (isset($query['types'][$j])) {
143146
// Transform the param according to the type

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp