Skip to content

Commit 7fa7364

Browse files
javiereguiluznicolas-grekas
authored andcommitted
Code updates
1 parent 5e8e95e commit 7fa7364

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DataCollector/DoctrineDataCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ private function sanitizeQuery(string $connectionName, array $query): array
163163
$query['types'][$j] = $type->getBindingType();
164164
try {
165165
$param = $type->convertToDatabaseValue($param, $this->registry->getConnection($connectionName)->getDatabasePlatform());
166-
} catch (\TypeError $e) {
167-
} catch (ConversionException $e) {
166+
} catch (\TypeError|ConversionException) {
168167
}
169168
}
170169
}

0 commit comments

Comments
 (0)