diff --git a/composer.json b/composer.json index 19d8878..43d73eb 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ } }, "require-dev": { - "doctrine/coding-standard": "^11.0", + "doctrine/coding-standard": "^11.0 || ^12.0", "doctrine/dbal": "^3.1.1", "phpunit/phpunit": "^9.5", "vimeo/psalm": "^5.4", diff --git a/src/Type/Entity.php b/src/Type/Entity.php index 61ac84b..2fa9b53 100644 --- a/src/Type/Entity.php +++ b/src/Type/Entity.php @@ -110,6 +110,7 @@ public function getGraphQLType(): ObjectType new EntityDefinition($arrayObject, $this->getEntityClass() . '.definition'), ); + /** @psalm-suppress InvalidArgument */ $objectType = new ObjectType($arrayObject->getArrayCopy()); $this->typeManager->set($this->getTypeName(), $objectType);