Skip to content

Commit

Permalink
Merge pull request #132 from TomHAnderson/feature/update-codingstandard
Browse files Browse the repository at this point in the history
Updated Doctrine coding standard
  • Loading branch information
TomHAnderson committed May 17, 2023
2 parents 6388f58 + d820711 commit 5c74ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/Type/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5c74ffc

Please sign in to comment.