@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace GraphQL\Doctrine\Factory; |
6 | 6 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $typeName = Utils::getTypeName($className); |
26 | 26 | $description = $this->getDescription($className); |
27 | 27 | |
28 | - $fieldsGetter = function () use ($className): array { |
|
28 | + $fieldsGetter = function() use ($className): array { |
|
29 | 29 | $factory = new OutputFieldsConfigurationFactory($this->types, $this->entityManager); |
30 | 30 | $configuration = $factory->create($className); |
31 | 31 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace GraphQL\Doctrine\Factory; |
6 | 6 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | $typeName = Utils::getInputTypeName($className); |
26 | 26 | $description = $this->getDescription($className); |
27 | 27 | |
28 | - $fieldsGetter = function () use ($className): array { |
|
28 | + $fieldsGetter = function() use ($className): array { |
|
29 | 29 | $factory = new InputFieldsConfigurationFactory($this->types, $this->entityManager); |
30 | 30 | $configuration = $factory->create($className); |
31 | 31 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace GraphQL\Doctrine\Factory; |
6 | 6 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $type = clone $this->types->getInput($className); |
29 | 29 | $fieldsGetter = $type->config['fields']; |
30 | 30 | |
31 | - $optionalFieldsGetter = function () use ($fieldsGetter): array { |
|
31 | + $optionalFieldsGetter = function() use ($fieldsGetter): array { |
|
32 | 32 | $optionalFields = []; |
33 | 33 | foreach ($fieldsGetter() as $field) { |
34 | 34 | if ($field['type'] instanceof NonNull) { |