Passed
Branch master (8a45da)
by compolom
02:40 queued 59s
created
src/Pagination.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function __construct(int $page, int $limit, int $total, int $length = 3, bool $uiKeys = false)
31 31
     {
32
-        $this->totalPages = (int)ceil($total / $limit);
32
+        $this->totalPages = (int) ceil($total / $limit);
33 33
         $this->page = $page > 1 ? ($page > $this->totalPages ? 1 : $page) : 1;
34 34
         $this->limit = $limit > 0 ? $limit : 10;
35 35
         $this->total = $total;
Please login to merge, or discard this patch.