Skip to content

Commit

Permalink
Fixing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Sep 20, 2018
1 parent 59bf6b1 commit ae179ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TypeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public function __construct(RegistryInterface $registry)

/**
* @param object $annotatedObject An object with a @Type annotation.
* @return ObjectType
* @return TypeInterface
*/
public function mapAnnotatedObject($annotatedObject): ObjectType
public function mapAnnotatedObject($annotatedObject): TypeInterface
{
// Objects that are already a GraphQL type need no attention.
if ($annotatedObject instanceof TypeInterface) {
Expand Down

0 comments on commit ae179ce

Please sign in to comment.