From 8381f67bd8f2f2d5539435cdcbfc15a0e3409d93 Mon Sep 17 00:00:00 2001 From: spawnia Date: Sun, 23 Jun 2019 18:34:19 +0200 Subject: [PATCH] Add one more --- src/Executor/ReferenceExecutor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index 08911e4..b7784e1 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -1324,9 +1324,9 @@ class ReferenceExecutor implements ExecutorImplementation ResolveInfo $info, &$result ) { - $runtimeType = is_string($runtimeTypeOrName) ? - $this->exeContext->schema->getType($runtimeTypeOrName) : - $runtimeTypeOrName; + $runtimeType = is_string($runtimeTypeOrName) + ? $this->exeContext->schema->getType($runtimeTypeOrName) + : $runtimeTypeOrName; if (! $runtimeType instanceof ObjectType) { throw new InvariantViolation( sprintf(