Completed
Push — master ( b6b65e...5c1bad )
by Timo
05:41
created
src/Models/DataComponents/Paginator.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,12 +96,12 @@
 block discarded – undo
96 96
         }
97 97
 
98 98
         return '<ul class="pagination">' .
99
-               $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) .
100
-               $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) .
101
-               $this->_renderPageList() .
102
-               $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) .
103
-               $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) .
104
-               '</ul>';
99
+                $this->_renderListItem($this->_currentPage - 1, $this->_getFirstPageUrl(), $this->_firstPageSymbol) .
100
+                $this->_renderListItem($this->_currentPage - 1, $this->_getPreviousPageUrl(), $this->_previousPageSymbol) .
101
+                $this->_renderPageList() .
102
+                $this->_renderListItem($this->_currentPage + 1, $this->_getNextPageUrl(), $this->_nextPageSymbol) .
103
+                $this->_renderListItem($this->_currentPage + 1, $this->_getLastPageUrl(), $this->_lastPageSymbol) .
104
+                '</ul>';
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
         $end = $this->_getEndPage();
167 167
 
168 168
         $pageList = '';
169
-        for ($i = $this->_getStartPage(); $i <= $end; $i ++)
169
+        for ($i = $this->_getStartPage(); $i <= $end; $i++)
170 170
         {
171 171
             $pageList .= $this->_renderListItem($i, $this->_buildPageUrl($i));
172 172
         }
Please login to merge, or discard this patch.
src/Models/DataTable.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -284,9 +284,9 @@
 block discarded – undo
284 284
         }
285 285
 
286 286
         return TableRenderer::open($this->_classes) .
287
-               TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) .
288
-               TableRenderer::renderBody($data, $this->_columns) .
289
-               TableRenderer::close();
287
+                TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) .
288
+                TableRenderer::renderBody($data, $this->_columns) .
289
+                TableRenderer::close();
290 290
     }
291 291
 
292 292
     /**
Please login to merge, or discard this patch.
src/Models/ColumnFormatters/LinkColumn.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,9 +77,9 @@
 block discarded – undo
77 77
     private function _renderLink(string $name, string $url) : string
78 78
     {
79 79
         return '<a href="' . $url . '"' .
80
-               ($this->_openNew ? ' target="_blank"' : '') .
81
-               (!empty($this->_classes) ? (' class="' . $this->_classes . '"') : '') .
82
-               '>' . $name . '</a>';
80
+                ($this->_openNew ? ' target="_blank"' : '') .
81
+                (!empty($this->_classes) ? (' class="' . $this->_classes . '"') : '') .
82
+                '>' . $name . '</a>';
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.