We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | $client->request('POST', '/?batch', [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($data)); |
| 166 | 166 | $result = $client->getResponse()->getContent(); |
| 167 | 167 | |
| 168 | - $expected = [ |
|
| 168 | + $expected = [ |
|
| 169 | 169 | 'friends' => ['data' => $this->expectedData], |
| 170 | 170 | 'friendsTotalCount' => ['data' => ['user' => ['friends' => ['totalCount' => 4]]]], |
| 171 | 171 | ]; |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | 'fields' => [ |
| 73 | 73 | 'firstName' => ['type' => Type::nonNull(Type::string())], |
| 74 | 74 | 'Dog' => [ |
| 75 | - 'type' => function () { |
|
| 75 | + 'type' => function() { |
|
| 76 | 76 | return Type::nonNull( |
| 77 | 77 | Type::listOf( |
| 78 | 78 | Type::nonNull(self::buildDogType()) |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | private function getFieldClosure(ValidationContext $context, array $rootTypes) |
| 67 | 67 | { |
| 68 | - return function (Field $node) use ($context, $rootTypes) { |
|
| 68 | + return function(Field $node) use ($context, $rootTypes) { |
|
| 69 | 69 | $parentType = $context->getParentType(); |
| 70 | 70 | $type = $this->retrieveCurrentTypeFromValidationContext($context); |
| 71 | 71 | $isIntrospectionType = $type && $type->name === '__Schema'; |
@@ -79,8 +79,7 @@ discard block |
||
| 79 | 79 | self::$maxQueryDepth + static::DEFAULT_MAX_COUNT_AFTER_DEPTH_LIMIT, |
| 80 | 80 | 0, |
| 81 | 81 | true |
| 82 | - ) : |
|
| 83 | - 0 |
|
| 82 | + ) : 0 |
|
| 84 | 83 | ; |
| 85 | 84 | |
| 86 | 85 | if ($depth > self::$maxQueryDepth) { |