Completed
Push — master ( c7e2cd...8a3b59 )
by Samuel
13s
created
src/Serializer/AbstractItemNormalizer.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\Serializer;
15 15
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $this->itemDataProvider = $itemDataProvider;
60 60
         $this->allowPlainIdentifiers = $allowPlainIdentifiers;
61 61
 
62
-        $this->setCircularReferenceHandler(function ($object) {
62
+        $this->setCircularReferenceHandler(function($object) {
63 63
             return $this->iriConverter->getIriFromItem($object);
64 64
         });
65 65
     }
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
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function createItemResolver(string $resourceClass, string $rootClass): callable
46 46
     {
47
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
47
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
48 48
             $rootProperty = $info->fieldName;
49 49
             $rootIdentifiers = $this->identifiersExtractor->getIdentifiersFromResourceClass($rootClass);
50 50
             if (isset($root[$rootProperty])) {
Please login to merge, or discard this patch.
src/Bridge/Graphql/Type/SchemaBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      *
113 113
      * @see http://webonyx.github.io/graphql-php/type-system/object-types/
114 114
      *
115
-     * @return array|null
115
+     * @return string
116 116
      */
117 117
     private function getResourceFieldConfiguration(string $fieldDescription = null, Type $type, string $rootResource, bool $isInput = false)
118 118
     {
Please login to merge, or discard this 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
 
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
         $configuration = [
241 241
             'name' => $shortName,
242 242
             'description' => $resourceMetadata->getDescription(),
243
-            'fields' => function () use ($resource, $isInput) {
243
+            'fields' => function() use ($resource, $isInput) {
244 244
                 return $this->getResourceObjectTypeFields($resource, $isInput);
245 245
             },
246 246
         ];
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
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function createCollectionResolver(string $resourceClass, string $rootClass): callable
55 55
     {
56
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
56
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
57 57
             $request = $this->requestStack ? $this->requestStack->getCurrentRequest() : null;
58 58
             if (null !== $request) {
59 59
                 $request->attributes->set(
Please login to merge, or discard this patch.
src/Bridge/Graphql/Resolver/AbstractResolverFactory.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.
src/JsonApi/EventListener/TransformPaginationParametersListener.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\JsonApi\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/JsonApi/EventListener/TransformFieldsetsParametersListener.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\JsonApi\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/Serializer/AbstractConstraintViolationListNormalizer.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\Serializer;
15 15
 
Please login to merge, or discard this patch.
src/DataProvider/RestrictedDataProviderInterface.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\DataProvider;
15 15
 
Please login to merge, or discard this patch.