diff --git a/composer.json b/composer.json index 9262fd0d..50da8bc7 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.8.3" + "phpstan/phpstan": "^1.8.6" }, "conflict": { "doctrine/collections": "<1.0", diff --git a/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php b/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php index 7e892423..27a5e020 100644 --- a/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php +++ b/tests/Type/Doctrine/Query/QueryResultTypeWalkerTest.php @@ -368,8 +368,11 @@ public function getTestData(): iterable ]), $this->constantArray([ [new ConstantIntegerType(0), new ObjectType(Many::class)], - [new ConstantStringType('id'), new StringType(), true], - [new ConstantStringType('intColumn'), new IntegerType(), true], + ]), + $this->constantArray([ + [new ConstantIntegerType(0), new ObjectType(Many::class)], + [new ConstantStringType('id'), new StringType()], + [new ConstantStringType('intColumn'), new IntegerType()], ]) ), '