@@ -5,7 +5,7 @@  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx;  | 
                                                        
| 11 | 11 | |
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx;  | 
                                                        
| 11 | 11 | |
@@ -151,7 +151,7 @@ discard block  | 
                                                    ||
| 151 | 151 | $passed = $this->isPassedArgument($argument, $input);  | 
                                                        
| 152 | 152 | |
| 153 | 153 | // No passed value No default value Required (not null)  | 
                                                        
| 154 | - return ! $passed && ! $argument->hasDefaultValue() && $argument->isNonNull();  | 
                                                        |
| 154 | + return !$passed && !$argument->hasDefaultValue() && $argument->isNonNull();  | 
                                                        |
| 155 | 155 | }  | 
                                                        
| 156 | 156 | |
| 157 | 157 | /**  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -28,7 +28,7 @@ discard block  | 
                                                    ||
| 28 | 28 | return new ObjectType([  | 
                                                        
| 29 | 29 | 'name' => $this->reflection->getName(),  | 
                                                        
| 30 | 30 | 'description' => $this->reflection->getDescription(),  | 
                                                        
| 31 | -            'fields'      => function (): array { | 
                                                        |
| 31 | +            'fields'      => function(): array { | 
                                                        |
| 32 | 32 | return FieldBuilder::buildFields($this->reflection, $this->getRegistry(), $this->events);  | 
                                                        
| 33 | 33 | },  | 
                                                        
| 34 | 34 | 'interfaces' => $this->buildInterfaces(),  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -37,7 +37,7 @@ discard block  | 
                                                    ||
| 37 | 37 | 'description' => $this->reflection->getDescription(),  | 
                                                        
| 38 | 38 | 'types' => $types,  | 
                                                        
| 39 | 39 | // TODO Resolve Type  | 
                                                        
| 40 | -            'resolveType' => function (): Type { | 
                                                        |
| 40 | +            'resolveType' => function(): Type { | 
                                                        |
| 41 | 41 | },  | 
                                                        
| 42 | 42 | ]);  | 
                                                        
| 43 | 43 | }  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -50,13 +50,13 @@ discard block  | 
                                                    ||
| 50 | 50 | return new CustomScalarType([  | 
                                                        
| 51 | 51 | 'name' => $this->reflection->getName(),  | 
                                                        
| 52 | 52 | 'description' => $this->reflection->getDescription(),  | 
                                                        
| 53 | -            'serialize'   => function ($value) { | 
                                                        |
| 53 | +            'serialize'   => function($value) { | 
                                                        |
| 54 | 54 | return $value;  | 
                                                        
| 55 | 55 | },  | 
                                                        
| 56 | -            'parseValue' => function ($value) { | 
                                                        |
| 56 | +            'parseValue' => function($value) { | 
                                                        |
| 57 | 57 | return $value;  | 
                                                        
| 58 | 58 | },  | 
                                                        
| 59 | -            'parseLiteral' => function ($valueNode) { | 
                                                        |
| 59 | +            'parseLiteral' => function($valueNode) { | 
                                                        |
| 60 | 60 | return $valueNode->value;  | 
                                                        
| 61 | 61 | },  | 
                                                        
| 62 | 62 | ]);  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -29,7 +29,7 @@ discard block  | 
                                                    ||
| 29 | 29 | 'description' => $this->reflection->getDescription(),  | 
                                                        
| 30 | 30 | 'fields' => FieldBuilder::buildFields($this->reflection, $this->getRegistry(), $this->events),  | 
                                                        
| 31 | 31 | // TODO Resolve Type  | 
                                                        
| 32 | -            'resolveType' => function (): Type { | 
                                                        |
| 32 | +            'resolveType' => function(): Type { | 
                                                        |
| 33 | 33 | },  | 
                                                        
| 34 | 34 | ]);  | 
                                                        
| 35 | 35 | }  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -52,7 +52,7 @@ discard block  | 
                                                    ||
| 52 | 52 |      { | 
                                                        
| 53 | 53 | $arguments = ArgumentBuilder::buildArguments($this->reflection, $this->getRegistry(), $this->events);  | 
                                                        
| 54 | 54 | |
| 55 | -        return \array_map(function ($argument): FieldArgument { | 
                                                        |
| 55 | +        return \array_map(function($argument): FieldArgument { | 
                                                        |
| 56 | 56 | return new FieldArgument($argument);  | 
                                                        
| 57 | 57 | }, $arguments);  | 
                                                        
| 58 | 58 | }  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx\Builders;  | 
                                                        
| 11 | 11 | |
@@ -77,7 +77,7 @@ discard block  | 
                                                    ||
| 77 | 77 |      { | 
                                                        
| 78 | 78 | $events = $this->make(Dispatcher::class);  | 
                                                        
| 79 | 79 | |
| 80 | -        return function ($parent, array $arguments, $context, ResolveInfo $info) use ($events) { | 
                                                        |
| 80 | +        return function($parent, array $arguments, $context, ResolveInfo $info) use ($events) { | 
                                                        |
| 81 | 81 | $input = new WebonyxInput($events, $this->reflection, $info, $arguments);  | 
                                                        
| 82 | 82 | |
| 83 | 83 | $resolving = new FieldResolving($input, $parent);  | 
                                                        
@@ -5,7 +5,7 @@ discard block  | 
                                                    ||
| 5 | 5 | * For the full copyright and license information, please view the LICENSE  | 
                                                        
| 6 | 6 | * file that was distributed with this source code.  | 
                                                        
| 7 | 7 | */  | 
                                                        
| 8 | -declare(strict_types=1);  | 
                                                        |
| 8 | +declare(strict_types = 1);  | 
                                                        |
| 9 | 9 | |
| 10 | 10 | namespace Railt\Adapters\Webonyx;  | 
                                                        
| 11 | 11 | |
@@ -127,7 +127,7 @@ discard block  | 
                                                    ||
| 127 | 127 | */  | 
                                                        
| 128 | 128 | private function prepare(Schema $schema, $rootValue, $context): \Closure  | 
                                                        
| 129 | 129 |      { | 
                                                        
| 130 | -        return function ($query, $variables, $operation) use ($schema, $rootValue, $context) { | 
                                                        |
| 130 | +        return function($query, $variables, $operation) use ($schema, $rootValue, $context) { | 
                                                        |
| 131 | 131 | return GraphQL::executeQuery($schema, $query, $rootValue, $context, $variables, $operation);  | 
                                                        
| 132 | 132 | };  | 
                                                        
| 133 | 133 | }  |