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

Commit 977c493

Browse files
committed
QueryResultTypeWalkerFetchTypeMatrixTest: cleanup
1 parent 26229db commit 977c493

File tree

2 files changed

+408
-767
lines changed

2 files changed

+408
-767
lines changed

‎src/Type/Doctrine/Query/QueryResultTypeWalker.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public function walkFunction($function): string
438438
return $this->marshalType($nonNegativeInt);
439439
}
440440

441-
if ($this->containsOnlyTypes($exprTypeNoNull, [newIntegerType(), newFloatType(), $this->createNumericString(false)])) {
441+
if ($this->containsOnlyNumericTypes($exprTypeNoNull)) {
442442
return $this->marshalType($exprType); // retains underlying type
443443
}
444444

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /