Completed
Pull Request — master (#1460)
by Alan
03:10
created
src/Bridge/Graphql/Resolver/ItemMutationResolverFactoryInterface.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
 namespace ApiPlatform\Core\Bridge\Graphql\Resolver;
15 15
 
Please login to merge, or discard this patch.
Bridge/Symfony/Bundle/DependencyInjection/Compiler/DataPersisterPass.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
 namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler;
15 15
 
Please login to merge, or discard this patch.
src/DataPersister/DataPersisterInterface.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
 namespace ApiPlatform\Core\DataPersister;
15 15
 
Please login to merge, or discard this patch.
src/EventListener/WriteListener.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
 namespace ApiPlatform\Core\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Common/DataPersister.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
 namespace ApiPlatform\Core\Bridge\Doctrine\Common;
15 15
 
Please login to merge, or discard this patch.
src/DataPersister/ChainDataPersister.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
 namespace ApiPlatform\Core\DataPersister;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Graphql/Resolver/CollectionResolverFactory.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\Graphql\Resolver;
15 15
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function createCollectionResolver(string $resourceClass, string $rootClass, string $operationName): callable
58 58
     {
59
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass, $operationName) {
59
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass, $operationName) {
60 60
             if (null !== $request = $this->requestStack->getCurrentRequest()) {
61 61
                 $request->attributes->set(
62 62
                     '_graphql_collections_args',
Please login to merge, or discard this patch.
src/Bridge/Graphql/Resolver/ItemResolverFactory.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\Graphql\Resolver;
15 15
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function createItemResolver(string $resourceClass, string $rootClass, string $operationName): callable
52 52
     {
53
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass, $operationName) {
53
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass, $operationName) {
54 54
             $rootProperty = $info->fieldName;
55 55
             $rootIdentifiers = $this->identifiersExtractor->getIdentifiersFromResourceClass($rootClass);
56 56
             if (isset($root[$rootProperty])) {
Please login to merge, or discard this patch.
src/Bridge/Graphql/Type/SchemaBuilder.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\Graphql\Type;
15 15
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
         $configuration = [
279 279
             'name' => $shortName,
280 280
             'description' => $resourceMetadata->getDescription(),
281
-            'fields' => function () use ($resource, $operationName, $isInput, $isMutation) {
281
+            'fields' => function() use ($resource, $operationName, $isInput, $isMutation) {
282 282
                 return $this->getResourceObjectTypeFields($resource, $operationName, $isInput, $isMutation);
283 283
             },
284 284
         ];
Please login to merge, or discard this patch.