Skip to content

Commit 415c8d4

Browse files
committed
Adjust non-numeric results in QueryResultTypeWalkerTest
1 parent 977c493 commit 415c8d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,8 @@ public function getTestData(): iterable
11421142
[new ConstantIntegerType(3), TypeCombinator::addNull(new IntegerType())],
11431143
[new ConstantIntegerType(4), new IntegerType()],
11441144
[new ConstantIntegerType(5), new IntegerType()],
1145-
[new ConstantIntegerType(6), new IntegerType()],
1146-
[new ConstantIntegerType(7), new IntegerType()],
1145+
[new ConstantIntegerType(6), new MixedType()],
1146+
[new ConstantIntegerType(7), new MixedType()],
11471147
]),
11481148
'
11491149
SELECT m.intColumn,
@@ -1163,7 +1163,7 @@ public function getTestData(): iterable
11631163
[new ConstantIntegerType(1), $this->uint()],
11641164
[new ConstantIntegerType(2), TypeCombinator::addNull($this->uint())],
11651165
[new ConstantIntegerType(3), $this->uint()],
1166-
[new ConstantIntegerType(4), new FloatType()],
1166+
[new ConstantIntegerType(4), new MixedType()],
11671167
]),
11681168
'
11691169
SELECT ABS(m.intColumn),

0 commit comments

Comments
 (0)