Passed
Pull Request — master (#12)
by
unknown
12:09
created
src/Paginator.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         $this->rows = $this->toPositive($rows);
74 74
         $this->limit = $this->toPositive($limit);
75 75
         $this->range = $this->toPositive($range);
76
-        $this->pages = (int)ceil($this->rows / $this->limit);
76
+        $this->pages = (int) ceil($this->rows / $this->limit);
77 77
         $this->page = ($page <= $this->pages ? $this->toPositive($page) : $this->pages);
78 78
 
79 79
         $this->offset = (($this->page * $this->limit) - $this->limit >= 0 ? ($this->page * $this->limit) - $this->limit : 0);
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -206,9 +206,9 @@
 block discarded – undo
206 206
         return null;
207 207
     }
208 208
 
209
-      /**
210
-     * @return string|null
211
-     */
209
+        /**
210
+         * @return string|null
211
+         */
212 212
     public function prevPage(): ?string
213 213
     {
214 214
         $prevPage = $this->page - 1;
Please login to merge, or discard this patch.