Completed
Push — master ( 98955b...63d555 )
by Kévin
03:49
created
src/GraphQl/Type/SchemaBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\GraphQl\Type;
15 15
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                     'description' => 'The id of this node.',
119 119
                 ],
120 120
             ],
121
-            'resolveType' => function ($value) {
121
+            'resolveType' => function($value) {
122 122
                 if (!isset($value[ItemNormalizer::ITEM_KEY])) {
123 123
                     return null;
124 124
                 }
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
                         }
235 235
 
236 236
                         parse_str($key, $parsed);
237
-                        array_walk_recursive($parsed, function (&$value) use ($graphqlFilterType) {
237
+                        array_walk_recursive($parsed, function(&$value) use ($graphqlFilterType) {
238 238
                             $value = $graphqlFilterType;
239 239
                         });
240 240
                         $args = $this->mergeFilterArgs($args, $parsed, $resourceMetadata, $key);
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
             'name' => $shortName,
388 388
             'description' => $resourceMetadata->getDescription(),
389 389
             'resolveField' => $this->defaultFieldResolver,
390
-            'fields' => function () use ($resourceClass, $resourceMetadata, $input, $mutationName) {
390
+            'fields' => function() use ($resourceClass, $resourceMetadata, $input, $mutationName) {
391 391
                 return $this->getResourceObjectTypeFields($resourceClass, $resourceMetadata, $input, $mutationName);
392 392
             },
393 393
             'interfaces' => [$this->getNodeInterface()],
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/ContextAwareFilterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is part of the API Platform project.
15 15
  *
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/OrderFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Filter;
15 15
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack = null, string $orderParameterName = 'order', LoggerInterface $logger = null, array $properties = null)
57 57
     {
58 58
         if (null !== $properties) {
59
-            $properties = array_map(function ($propertyOptions) {
59
+            $properties = array_map(function($propertyOptions) {
60 60
                 // shorthand for default direction
61 61
                 if (\is_string($propertyOptions)) {
62 62
                     $propertyOptions = [
Please login to merge, or discard this patch.