Passed
Pull Request — master (#323)
by Arman
07:57
created
src/Paginator/Adapters/ModelPaginator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
             ->offset($this->perPage * ($this->page - 1))
63 63
             ->get();
64 64
 
65
-        if($this->modelClass != '@anonymous') {
66
-            $result = array_map(function ($item) {
65
+        if ($this->modelClass != '@anonymous') {
66
+            $result = array_map(function($item) {
67 67
                 return wrapToModel($item->getOrmInstance(), $this->modelClass);
68 68
             }, iterator_to_array($result));
69 69
         }
Please login to merge, or discard this patch.