Completed
Push — master ( a829ba...a05c2b )
by Timo
04:09
created
src/Models/DataComponents/Paginator.php 1 patch
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.
src/Models/DataComponents/DataScout.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,9 +118,9 @@
 block discarded – undo
118 118
     public function render(): string
119 119
     {
120 120
         return '<form method="get" action="' . $this->_buildSearchUrl() .
121
-               '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
122
-               $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
123
-               $this->_buttonText . '</button></div></div></form>';
121
+                '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
122
+                $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
123
+                $this->_buttonText . '</button></div></div></form>';
124 124
     }
125 125
 
126 126
     /**
Please login to merge, or discard this patch.
src/Models/DataTable.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -336,8 +336,8 @@
 block discarded – undo
336 336
         foreach ($this->_columns as $column)
337 337
         {
338 338
             $html .= '<td>' .
339
-                     ($column->getRelation() !== null ? $this->_getColumnValueFromRelation($rowModel, $column) : $column->format($attributes[$column->getName()] ?? ''))
340
-                     . '</td>';
339
+                        ($column->getRelation() !== null ? $this->_getColumnValueFromRelation($rowModel, $column) : $column->format($attributes[$column->getName()] ?? ''))
340
+                        . '</td>';
341 341
         }
342 342
         $html .= '</tr>';
343 343
 
Please login to merge, or discard this patch.