diff --git a/src/Executor/ReferenceExecutor.php b/src/Executor/ReferenceExecutor.php index 235cd49..837628a 100644 --- a/src/Executor/ReferenceExecutor.php +++ b/src/Executor/ReferenceExecutor.php @@ -1043,7 +1043,7 @@ class ReferenceExecutor implements ExecutorImplementation if ($abstractType instanceof InterfaceType && $info->schema->getConfig()->typeLoader) { Warning::warnOnce( sprintf( - 'GraphQL Interface Type `%s` returned `null` from it`s `resolveType` function ' . + 'GraphQL Interface Type `%s` returned `null` from its `resolveType` function ' . 'for value: %s. Switching to slow resolution method using `isTypeOf` ' . 'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' . ' Make sure your `resolveType` always returns valid implementation or throws.', diff --git a/src/Experimental/Executor/CoroutineExecutor.php b/src/Experimental/Executor/CoroutineExecutor.php index 45503eb..b473c56 100644 --- a/src/Experimental/Executor/CoroutineExecutor.php +++ b/src/Experimental/Executor/CoroutineExecutor.php @@ -900,7 +900,7 @@ class CoroutineExecutor implements Runtime, ExecutorImplementation if ($abstractType instanceof InterfaceType && $this->schema->getConfig()->typeLoader) { Warning::warnOnce( sprintf( - 'GraphQL Interface Type `%s` returned `null` from it`s `resolveType` function ' . + 'GraphQL Interface Type `%s` returned `null` from its `resolveType` function ' . 'for value: %s. Switching to slow resolution method using `isTypeOf` ' . 'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' . ' Make sure your `resolveType` always returns valid implementation or throws.', diff --git a/tests/Executor/ExecutorLazySchemaTest.php b/tests/Executor/ExecutorLazySchemaTest.php index 7779715..245b95d 100644 --- a/tests/Executor/ExecutorLazySchemaTest.php +++ b/tests/Executor/ExecutorLazySchemaTest.php @@ -154,7 +154,7 @@ class ExecutorLazySchemaTest extends TestCase self::assertInstanceOf(Error::class, $result->errors[0]->getPrevious()); self::assertEquals( - 'GraphQL Interface Type `Pet` returned `null` from it`s `resolveType` function for value: instance of ' . + 'GraphQL Interface Type `Pet` returned `null` from its `resolveType` function for value: instance of ' . 'GraphQL\Tests\Executor\TestClasses\Dog. Switching to slow resolution method using `isTypeOf` of all possible ' . 'implementations. It requires full schema scan and degrades query performance significantly. ' . 'Make sure your `resolveType` always returns valid implementation or throws.',