Test Failed
Push — develop ( 838327...fcdffa )
by Daniel
04:29
created
src/DataModifier/CollectionModifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             ]
80 80
         ];
81 81
         if ($collectionEntity->getPerPage() !== null && ($request = $this->requestStack->getCurrentRequest())) {
82
-            $request->attributes->set('_api_pagination', [ 'itemsPerPage' => $collectionEntity->getPerPage() ]);
82
+            $request->attributes->set('_api_pagination', ['itemsPerPage' => $collectionEntity->getPerPage()]);
83 83
         }
84 84
 
85 85
         /** @var Paginator $collection */
Please login to merge, or discard this patch.
src/Filter/Doctrine/PublishableFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     private function supportsEntity(ClassMetadata $targetEntity): bool
34 34
     {
35 35
         if ($targetEntity->subClasses) {
36
-            $highestSubclass = $targetEntity->subClasses[max(\count($targetEntity->subClasses)-1, 0)];
36
+            $highestSubclass = $targetEntity->subClasses[max(\count($targetEntity->subClasses) - 1, 0)];
37 37
             return is_subclass_of($highestSubclass, PublishableInterface::class);
38 38
         }
39 39
         $reflection = $targetEntity->getReflectionClass();
Please login to merge, or discard this patch.