Passed
Pull Request — master (#1)
by Florian
11:28
created
src/Paginator/ArrayPaginator.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @var callable
29 29
      */
30
-     protected $sortHandler;
30
+        protected $sortHandler;
31 31
 
32 32
     /**
33 33
      * Maps the params to the repository
Please login to merge, or discard this patch.
src/Paginator/Doctrine2Paginator.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     public function paginate(PaginationParamsInterface $paginationParams, $repository)
32 32
     {
33 33
         $query = $repository
34
-           ->setFirstResult($paginationParams->getCurrentPage())
35
-           ->setMaxResults($paginationParams->getLimit());
34
+            ->setFirstResult($paginationParams->getCurrentPage())
35
+            ->setMaxResults($paginationParams->getLimit());
36 36
 
37 37
         return new Paginator($query, $fetchJoinCollection = true);
38 38
     }
Please login to merge, or discard this patch.
src/ParamsFactory/ServerRequestQueryParamsFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     public function build($data): PaginationParamsInterface
139 139
     {
140 140
         if (!$data instanceof ServerRequestInterface) {
141
-           return new static::$paginationParamsClass();
141
+            return new static::$paginationParamsClass();
142 142
         }
143 143
 
144 144
         return $this->mapRequest($data);
Please login to merge, or discard this patch.