Completed
Push — master ( 654a3a...0d91ac )
by Arman
20s queued 16s
created
src/Paginator/Traits/PaginatorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
      */
138 138
     public function lastPageNumber(): int
139 139
     {
140
-        return (int)ceil($this->total() / $this->perPage);
140
+        return (int) ceil($this->total() / $this->perPage);
141 141
     }
142 142
 
143 143
     /**
Please login to merge, or discard this patch.
src/Paginator/Adapters/ModelPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             ->offset($this->perPage * ($this->page - 1))
76 76
             ->get();
77 77
 
78
-        $models = array_map(function ($item) {
78
+        $models = array_map(function($item) {
79 79
             return wrapToModel($item, $this->modelClass);
80 80
         }, $ormInstances);
81 81
 
Please login to merge, or discard this patch.