Fix possessive its vs contraction it's (resolving conflicts)

This commit is contained in:
Vladimir Razuvaev 2018-11-22 18:42:39 +07:00
commit c0ae3ccdaf
3 changed files with 3 additions and 3 deletions

View File

@ -1043,7 +1043,7 @@ class ReferenceExecutor implements ExecutorImplementation
if ($abstractType instanceof InterfaceType && $info->schema->getConfig()->typeLoader) { if ($abstractType instanceof InterfaceType && $info->schema->getConfig()->typeLoader) {
Warning::warnOnce( Warning::warnOnce(
sprintf( 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` ' . 'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' . 'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
' Make sure your `resolveType` always returns valid implementation or throws.', ' Make sure your `resolveType` always returns valid implementation or throws.',

View File

@ -900,7 +900,7 @@ class CoroutineExecutor implements Runtime, ExecutorImplementation
if ($abstractType instanceof InterfaceType && $this->schema->getConfig()->typeLoader) { if ($abstractType instanceof InterfaceType && $this->schema->getConfig()->typeLoader) {
Warning::warnOnce( Warning::warnOnce(
sprintf( 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` ' . 'for value: %s. Switching to slow resolution method using `isTypeOf` ' .
'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' . 'of all possible implementations. It requires full schema scan and degrades query performance significantly. ' .
' Make sure your `resolveType` always returns valid implementation or throws.', ' Make sure your `resolveType` always returns valid implementation or throws.',

View File

@ -154,7 +154,7 @@ class ExecutorLazySchemaTest extends TestCase
self::assertInstanceOf(Error::class, $result->errors[0]->getPrevious()); self::assertInstanceOf(Error::class, $result->errors[0]->getPrevious());
self::assertEquals( 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 ' . '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. ' . 'implementations. It requires full schema scan and degrades query performance significantly. ' .
'Make sure your `resolveType` always returns valid implementation or throws.', 'Make sure your `resolveType` always returns valid implementation or throws.',