Skip to content

Commit 5ea3c85

Browse files
committed
fix bug in including introspection schema, occurring during tests
1 parent 5ea6d14 commit 5ea3c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schemas/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(?GraphQLObjectType $queryType, ?GraphQLObjectType $m
4242
//TODO: check for custom directives (see: https://github.com/graphql/graphql-js/blob/5ed55b89d526c637eeb9c440715367eec8a2adec/src/type/schema.js#L190)
4343

4444
$__Schema = null;
45-
require_once __DIR__ . '/../Introspection/Introspection.php';
45+
require __DIR__ . '/../Introspection/Introspection.php';
4646
$this->collectReferencedTypes($__Schema, $allReferencedTypes);
4747

4848
// build type map

0 commit comments

Comments
 (0)