Skip to content

Commit 8a469a0

Browse files
Uppercase
1 parent 6ec8bc3 commit 8a469a0

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
@@ -1476,7 +1476,7 @@ public function getTestData(): iterable
14761476
$this->constantArray([
14771477
[new ConstantStringType('minusInt'), $this->stringifies() ? new ConstantStringType('-1') : new ConstantIntegerType(-1)],
14781478
[new ConstantStringType('minusFloat'), $this->stringifies() ? $this->numericString() : new ConstantFloatType(-0.1)],
1479-
[new ConstantStringType('minusIntRange'), $this->stringifies() ? $this->numericString(true) : IntegerRangeType::fromInterval(null, 0)],
1479+
[new ConstantStringType('minusIntRange'), $this->stringifies() ? $this->numericString(true, true) : IntegerRangeType::fromInterval(null, 0)],
14801480
]),
14811481
'
14821482
SELECT -1 as minusInt,
@@ -1683,7 +1683,7 @@ private function stringifies(): bool
16831683
private function intOrStringified(): Type
16841684
{
16851685
return $this->stringifies()
1686-
? $this->numericString(true)
1686+
? $this->numericString(true, true)
16871687
: new IntegerType();
16881688
}
16891689

@@ -1697,7 +1697,7 @@ private function uintOrStringified(): Type
16971697
private function floatOrStringified(): Type
16981698
{
16991699
return $this->stringifies()
1700-
? $this->numericString()
1700+
? $this->numericString(false, true)
17011701
: new FloatType();
17021702
}
17031703

0 commit comments

Comments
 (0)