Passed
Push — master ( 80b04f...98ef0e )
by GRASSIOT
10:23
created
src/Metadata/Resource/Factory/CachedResourceMetadataFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         $cacheKey = self::CACHE_KEY_PREFIX.md5($resourceClass);
41 41
 
42
-        return $this->getCached($cacheKey, function () use ($resourceClass) {
42
+        return $this->getCached($cacheKey, function() use ($resourceClass) {
43 43
             return $this->decorated->create($resourceClass);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Serializer/AbstractItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function __construct(PropertyNameCollectionFactoryInterface $propertyNameCollectionFactory, PropertyMetadataFactoryInterface $propertyMetadataFactory, IriConverterInterface $iriConverter, ResourceClassResolverInterface $resourceClassResolver, PropertyAccessorInterface $propertyAccessor = null, NameConverterInterface $nameConverter = null, ClassMetadataFactoryInterface $classMetadataFactory = null, ItemDataProviderInterface $itemDataProvider = null, bool $allowPlainIdentifiers = false, array $defaultContext = [])
59 59
     {
60 60
         if (!isset($defaultContext['circular_reference_handler'])) {
61
-            $defaultContext['circular_reference_handler'] = function ($object) {
61
+            $defaultContext['circular_reference_handler'] = function($object) {
62 62
                 return $this->iriConverter->getIriFromItem($object);
63 63
             };
64 64
         }
Please login to merge, or discard this patch.
src/Swagger/Serializer/DocumentationNormalizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                 $parametersMemory = [];
204 204
                 $pathOperation['parameters'] = [];
205 205
 
206
-                foreach ($subresourceOperation['identifiers'] as list($identifier, , $hasIdentifier)) {
206
+                foreach ($subresourceOperation['identifiers'] as list($identifier,, $hasIdentifier)) {
207 207
                     if (true === $hasIdentifier) {
208 208
                         $parameter = [
209 209
                             'name' => $identifier,
@@ -560,7 +560,7 @@  discard block
 block discarded – undo
560 560
         }
561 561
 
562 562
         if (!isset($definitions[$definitionKey])) {
563
-            $definitions[$definitionKey] = [];  // Initialize first to prevent infinite loop
563
+            $definitions[$definitionKey] = []; // Initialize first to prevent infinite loop
564 564
             $definitions[$definitionKey] = $this->getDefinitionSchema($v3, $publicClass ?? $resourceClass, $resourceMetadata, $definitions, $serializerContext);
565 565
         }
566 566
 
Please login to merge, or discard this patch.