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 1dd6fd7 commit 8c726d8Copy full SHA for 8c726d8
src/Type/Doctrine/Query/QueryResultTypeWalker.php
@@ -49,7 +49,7 @@
49
use function is_string;
50
use function serialize;
51
use function sprintf;
52
-use function strpos;
+use function stripos;
53
use function strtolower;
54
use function unserialize;
55
@@ -1137,7 +1137,7 @@ public function walkLiteral($literal)
1137
// the only way to force float is to use 123.4e0 scientific notation
1138
// https://dev.mysql.com/doc/refman/8.0/en/number-literals.html
1139
1140
- if (strpos((string) $value, 'e') !== false || strpos((string) $value, 'E') !== false) {
+ if (stripos((string) $value, 'e') !== false) {
1141
$type = new ConstantFloatType((float) $value);
1142
} else {
1143
$type = new ConstantStringType((string) (float) $value);
0 commit comments