mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-11 18:19:23 +03:00
Fixed typo in buildSchema
This commit is contained in:
parent
d64c352262
commit
14ef8ef835
@ -287,7 +287,7 @@ class BuildSchema
|
||||
private function produceInterfaceType(TypeNode $typeNode)
|
||||
{
|
||||
$type = $this->produceType($typeNode);
|
||||
Utils::invariant($type instanceof InterfaceType, 'Expected Input type.');
|
||||
Utils::invariant($type instanceof InterfaceType, 'Expected Interface type.');
|
||||
return $type;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user