Passed
Pull Request — master (#1)
by
unknown
02:17
created
src/Paginator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 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);
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $this->class = $cssClass;
127 127
 
128
-        if ( strpos(" {$this->class}" ,"pagination")) {
128
+        if (strpos(" {$this->class}", "pagination")) {
129 129
             return $this->renderHtmlBootstrap();
130 130
         }
131 131
 
Please login to merge, or discard this patch.