Skip to content

Commit d746a7f

Browse files
committed
Fix
1 parent cc96ad6 commit d746a7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/MultipleSchemaTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace GraphQL\Tests;
44

5+
use GraphQL\Error\InvariantViolation;
56
use GraphQL\GraphQL;
67
use GraphQL\Type\Definition\ObjectType;
78
use GraphQL\Type\Definition\Type;
@@ -25,6 +26,7 @@ public function testMultipleSchemasWithCustomIntType(): void
2526
self::assertNotSame($schema1->getType('Int'), $schema2->getType('Int'));
2627
}
2728

29+
/** @throws InvariantViolation */
2830
private function createSchema(): Schema
2931
{
3032
$typeRegistry = new DefaultStandardTypeRegistry(

0 commit comments

Comments
 (0)