We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $rootTypes = [$schema->getQueryType(), $schema->getMutationType(), $schema->getSubscriptionType()]; |
60 | 60 | |
61 | 61 | return [ |
62 | - Node::FIELD => function (Field $node) use ($context, $rootTypes) { |
|
62 | + Node::FIELD => function(Field $node) use ($context, $rootTypes) { |
|
63 | 63 | $parentType = $context->getParentType(); |
64 | 64 | $type = $this->retrieveCurrentTypeFromValidationContext($context); |
65 | 65 | $isIntrospectionType = $type && $type->name === '__Schema'; |
@@ -73,8 +73,7 @@ discard block |
||
73 | 73 | static::$maxQueryDepth + static::DEFAULT_MAX_COUNT_AFTER_DEPTH_LIMIT, |
74 | 74 | 0, |
75 | 75 | true |
76 | - ) : |
|
77 | - 0 |
|
76 | + ) : 0 |
|
78 | 77 | ; |
79 | 78 | |
80 | 79 | if ($depth > static::$maxQueryDepth) { |