Completed
Push — master ( 7adf15...541751 )
by Timo
03:00
created
src/Models/DataComponents/Paginator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      *
190 190
      * @return string
191 191
      */
192
-    private function _renderListItem(string $pagenumber, ? string $url, ? string $symbol = null): string
192
+    private function _renderListItem(string $pagenumber, ? string $url, ? string $symbol = null) : string
193 193
     {
194 194
         if ($url === null)
195 195
         {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         }
203 203
 
204 204
         $class = '';
205
-        if (+ $pagenumber === $this->_currentPage)
205
+        if (+$pagenumber === $this->_currentPage)
206 206
         {
207 207
             $class = ' class="active"';
208 208
         }
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         }
233 233
 
234 234
         $pageList = '';
235
-        for ($i = $start; $i <= $end; $i ++)
235
+        for ($i = $start; $i <= $end; $i++)
236 236
         {
237 237
             $pageList .= $this->_renderListItem($i, $this->_buildPageUrl($i));
238 238
         }
Please login to merge, or discard this patch.