From 65e6caa139f1e657d974c4a5eabb035be68defdb Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Wed, 20 Nov 2024 14:06:19 +0100 Subject: [PATCH] Uppercase --- tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php b/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php index 7b3493b8..72c05a90 100644 --- a/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php +++ b/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php @@ -1476,7 +1476,7 @@ public function getTestData(): iterable $this->constantArray([ [new ConstantStringType('minusInt'), $this->stringifies() ? new ConstantStringType('-1') : new ConstantIntegerType(-1)], [new ConstantStringType('minusFloat'), $this->stringifies() ? $this->numericString() : new ConstantFloatType(-0.1)], - [new ConstantStringType('minusIntRange'), $this->stringifies() ? $this->numericString(true) : IntegerRangeType::fromInterval(null, 0)], + [new ConstantStringType('minusIntRange'), $this->stringifies() ? $this->numericString(true, true) : IntegerRangeType::fromInterval(null, 0)], ]), ' SELECT -1 as minusInt, @@ -1683,21 +1683,21 @@ private function stringifies(): bool private function intOrStringified(): Type { return $this->stringifies() - ? $this->numericString(true) + ? $this->numericString(true, true) : new IntegerType(); } private function uintOrStringified(): Type { return $this->stringifies() - ? $this->numericString(true) + ? $this->numericString(true, true) : $this->uint(); } private function floatOrStringified(): Type { return $this->stringifies() - ? $this->numericString() + ? $this->numericString(false, true) : new FloatType(); }