Completed
Pull Request — master (#1619)
by Kévin
03:14
created
src/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php 1 patch
Spacing   +3 added lines, -3 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\Extension;
15 15
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         if (!$normalizationContext = $context['normalization_context'] ?? false) {
86 86
             $contextType = isset($context['api_denormalize']) ? 'denormalization_context' : 'normalization_context';
87
-            $normalizationContext =  $this->getNormalizationContext($context['resource_class'] ?? $resourceClass, $contextType, $options);
87
+            $normalizationContext = $this->getNormalizationContext($context['resource_class'] ?? $resourceClass, $contextType, $options);
88 88
         }
89 89
 
90 90
         $this->joinRelations($queryBuilder, $queryNameGenerator, $resourceClass, $forceEager, $fetchPartial, $queryBuilder->getRootAliases()[0], $options, $normalizationContext);
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
         if (!$normalizationContext = $context['normalization_context'] ?? false) {
103 103
             $contextType = isset($context['api_denormalize']) ? 'denormalization_context' : 'normalization_context';
104
-            $normalizationContext =  $this->getNormalizationContext($context['resource_class'] ?? $resourceClass, $contextType, $options);
104
+            $normalizationContext = $this->getNormalizationContext($context['resource_class'] ?? $resourceClass, $contextType, $options);
105 105
         }
106 106
 
107 107
         $this->joinRelations($queryBuilder, $queryNameGenerator, $resourceClass, $forceEager, $fetchPartial, $queryBuilder->getRootAliases()[0], $options, $normalizationContext);
Please login to merge, or discard this patch.