Skip to content

Commit 65e6caa

Browse files
Uppercase
1 parent 6ec8bc3 commit 65e6caa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php

Lines changed: 4 additions & 4 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,21 +1683,21 @@ 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

16901690
private function uintOrStringified(): Type
16911691
{
16921692
return $this->stringifies()
1693-
? $this->numericString(true)
1693+
? $this->numericString(true, true)
16941694
: $this->uint();
16951695
}
16961696

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)