@@ -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 | * Date: 03/17/2017. |
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 | * Date: 01.12.15. |
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 | * Date: 10/24/16. |
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 | * |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function assertValidConfig(AbstractConfig $config): void |
63 | 63 | { |
64 | 64 | if (!$this->isValidConfig($config)) { |
65 | - throw new ConfigurationException('Config is not valid for ' . ($config->getContextObject() ? \get_class($config->getContextObject()) : null) . "\n" . \implode("\n", $this->getErrorsArray(false))); |
|
65 | + throw new ConfigurationException('Config is not valid for '.($config->getContextObject() ? \get_class($config->getContextObject()) : null)."\n".\implode("\n", $this->getErrorsArray(false))); |
|
66 | 66 | } |
67 | 67 | } |
68 | 68 |
@@ -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 @@ 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 | * Date: 03.11.16. |
15 | 15 | */ |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | /** @var AbstractObjectType $objectType */ |
54 | 54 | if (!(TypeService::isObjectType($objectType) || TypeService::isInputObjectType($objectType)) || !$objectType->hasField($ast->getName())) { |
55 | - $availableFieldNames = \implode(', ', \array_map(static function (FieldInterface $field) { |
|
55 | + $availableFieldNames = \implode(', ', \array_map(static function(FieldInterface $field) { |
|
56 | 56 | return \sprintf('"%s"', $field->getName()); |
57 | 57 | }, $objectType->getFields())); |
58 | 58 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | public function assertValidArguments(FieldInterface $field, AstFieldInterface $query, Request $request): void |
64 | 64 | { |
65 | - $requiredArguments = \array_filter($field->getArguments(), static function (InputField $argument) { |
|
65 | + $requiredArguments = \array_filter($field->getArguments(), static function(InputField $argument) { |
|
66 | 66 | return TypeMap::KIND_NON_NULL === $argument->getType()->getKind(); |
67 | 67 | }); |
68 | 68 |