You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Type/Doctrine/Query/QueryResultTypeWalker.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1133,8 +1133,8 @@ public function walkLiteral($literal)
1133
1133
1134
1134
if ($this->em->getConnection()->getDatabasePlatform() instanceof AbstractMySQLPlatform) {
1135
1135
1136
-
// both PDO_mysql and mysqli hydrates 123.4 literals as string no matter the configuration (e.g. PDO::ATTR_STRINGIFY_FETCHES being false) and PHP version
1137
-
// the only way to force float is to use 123.4e0 scientific notation
1136
+
// both pdo_mysql and mysqli hydrates decimal literal (e.g. 123.4) as string no matter the configuration (e.g. PDO::ATTR_STRINGIFY_FETCHES being false) and PHP version
1137
+
// the only way to force float is to use float literal with scientific notation (e.g. 123.4e0)
0 commit comments