@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of graphql-youshido project. |
| 15 | 15 | * |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | 'args' => [ |
| 54 | 54 | 'noop' => new IntType(), |
| 55 | 55 | ], |
| 56 | - 'resolve' => static function ($value, $args, $info) { |
|
| 56 | + 'resolve' => static function($value, $args, $info) { |
|
| 57 | 57 | return ['address' => '1234 Street']; |
| 58 | 58 | }, |
| 59 | 59 | ] |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | 'args' => [ |
| 66 | 66 | 'value' => new NonNullType(new StringType()), |
| 67 | 67 | ], |
| 68 | - 'resolve' => static function ($value, $args, $info) { |
|
| 68 | + 'resolve' => static function($value, $args, $info) { |
|
| 69 | 69 | return $args['value']; |
| 70 | 70 | }, |
| 71 | 71 | ] |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of graphql-youshido project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * http://opensource.org/licenses/MIT |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | /* |
| 14 | 14 | * This file is a part of GraphQL project. |
| 15 | 15 | * |
@@ -34,13 +34,13 @@ discard block |
||
| 34 | 34 | $config->getQuery()->addFields([ |
| 35 | 35 | 'me' => [ |
| 36 | 36 | 'type' => new TestObjectType(), |
| 37 | - 'resolve' => static function ($value, $args, ResolveInfo $info) { |
|
| 37 | + 'resolve' => static function($value, $args, ResolveInfo $info) { |
|
| 38 | 38 | return $info->getReturnType()->getData(); |
| 39 | 39 | }, |
| 40 | 40 | ], |
| 41 | 41 | 'status' => [ |
| 42 | 42 | 'type' => new TestEnumType(), |
| 43 | - 'resolve' => function () { |
|
| 43 | + 'resolve' => function() { |
|
| 44 | 44 | return $this->testStatusValue; |
| 45 | 45 | }, |
| 46 | 46 | ], |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $config->getMutation()->addFields([ |
| 49 | 49 | 'updateStatus' => [ |
| 50 | 50 | 'type' => new TestEnumType(), |
| 51 | - 'resolve' => function () { |
|
| 51 | + 'resolve' => function() { |
|
| 52 | 52 | return $this->testStatusValue; |
| 53 | 53 | }, |
| 54 | 54 | 'args' => [ |