We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4030ff1 commit 3d87b13Copy full SHA for 3d87b13
src/QueryLog/LogWriter.php
@@ -35,8 +35,8 @@ protected function getMessages(QueryExecuted $query): array
35
? "/(?<!\?)\?(?=(?:[^'\\\']*'[^'\\']*')*[^'\\\']*$)(?!\?)/"
36
: "/:{$key}(?=(?:[^'\\\']*'[^'\\\']*')*[^'\\\']*$)/";
37
38
- // Mimic bindValue and only quote non-integer and non-float data types
39
- if (!is_int($binding) && !is_float($binding)) {
+ // Mimic bindValue and only string data types
+ if (is_string($binding)) {
40
$binding = $this->quote($binding);
41
}
42
0 commit comments