@@ -34,12 +34,12 @@ |
||
34 | 34 | |
35 | 35 | public function finalize(): void |
36 | 36 | { |
37 | - if (! $this->typeRegistry->has('Mutation')) { |
|
37 | + if (!$this->typeRegistry->has('Mutation')) { |
|
38 | 38 | return; |
39 | 39 | } |
40 | 40 | |
41 | 41 | $mutationType = $this->typeRegistry->get('Mutation'); |
42 | - if (! $mutationType instanceof DynamicObjectTypeInterface) { |
|
42 | + if (!$mutationType instanceof DynamicObjectTypeInterface) { |
|
43 | 43 | return; |
44 | 44 | } |
45 | 45 |
@@ -35,7 +35,7 @@ |
||
35 | 35 | public function finalize(): void |
36 | 36 | { |
37 | 37 | $queryType = $this->typeRegistry->get('Query'); |
38 | - if (! $queryType instanceof DynamicObjectTypeInterface) { |
|
38 | + if (!$queryType instanceof DynamicObjectTypeInterface) { |
|
39 | 39 | return; |
40 | 40 | } |
41 | 41 |
@@ -84,7 +84,7 @@ |
||
84 | 84 | $http->addMiddleware(GraphQLMiddleware::class); |
85 | 85 | |
86 | 86 | $console->addCommand(ConfigCommand::class); |
87 | - $kernel->bootstrapped(static function (Schema $schema): void { |
|
87 | + $kernel->bootstrapped(static function(Schema $schema): void { |
|
88 | 88 | SchemaWarmupper::warmup($schema); |
89 | 89 | }); |
90 | 90 | } |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | public function listen(ReflectionClass $class): void |
35 | 35 | { |
36 | - if (! $this->isValid($class)) { |
|
36 | + if (!$this->isValid($class)) { |
|
37 | 37 | return; |
38 | 38 | } |
39 | 39 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | $typeName = (string) $type; |
47 | 47 | |
48 | - if (! $this->typeRegistry->has($typeName)) { |
|
48 | + if (!$this->typeRegistry->has($typeName)) { |
|
49 | 49 | \assert($type instanceof NamedType); |
50 | 50 | $this->typeRegistry->register($type, $class->getName()); |
51 | 51 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $attribute = $this->reader->firstClassMetadata($class, AbstractType::class); |
61 | 61 | |
62 | 62 | if ($attribute instanceof ObjectType || $attribute instanceof InputObjectType) { |
63 | - return ! $class->isAbstract() && ! $class->isTrait() && ! $class->isEnum(); |
|
63 | + return !$class->isAbstract() && !$class->isTrait() && !$class->isEnum(); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | if ($attribute instanceof EnumType) { |