Completed
Pull Request — master (#16)
by Timo
07:10
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/DataComponents/DataScout.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,9 +120,9 @@
 block discarded – undo
120 120
     public function render() : string
121 121
     {
122 122
         return '<form method="get" action="' . $this->_buildSearchUrl() .
123
-               '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
124
-               $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
125
-               $this->_buttonText . '</button></div></div></form>';
123
+                '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
124
+                $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
125
+                $this->_buttonText . '</button></div></div></form>';
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.