Completed
Push — master ( fbfcfc...553870 )
by Adam
02:32
created
src/Pagination.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
             if (self::$current < (self::$lastpage - $show)) {
76 76
                 self::$lastpage = self::$current + $show;
77 77
                 if (self::$current <= $show) { self::$lastpage = self::$current + ($numpages - self::$current); }
78
-            } else { self::$page = self::$current - ($numpages - ((ceil($records / $maxshown) - self::$current)) - 1); }
79
-        } else { self::$page = 1; }
78
+            }else { self::$page = self::$current - ($numpages - ((ceil($records / $maxshown) - self::$current)) - 1); }
79
+        }else { self::$page = 1; }
80 80
     }
81 81
     
82 82
     /**
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * @param boolean $arrows If you want to display previous arrows set to true else set to false
85 85
      * @return string Any previous link arrows will be returned as a string
86 86
      */
87
-    protected function preLinks($arrows = true){
87
+    protected function preLinks($arrows = true) {
88 88
         $paging = '';
89 89
         if (self::$current != 1 && $arrows) {
90 90
             if (self::$current != 2) { $paging .= $this->buildLink('', '&laquo;'); }
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      * @param boolean $arrows If you want to display next arrows set to true else set to false
99 99
      * @return string Any next link arrows will be returned as a string
100 100
      */
101
-    protected function postLinks($arrows = true){
101
+    protected function postLinks($arrows = true) {
102 102
         $paging = '';
103 103
         if (self::$current != self::$lastpage && $arrows) {
104 104
             $paging .= $this->buildLink((self::$current + 1), '&gt;');
Please login to merge, or discard this patch.