Completed
Push — master ( f511c0...29feb0 )
by Timo
04:42
created
src/Models/DataTable.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -254,9 +254,9 @@
 block discarded – undo
254 254
         $this->_initColumns();
255 255
 
256 256
         return TableRenderer::open($this->_classes) .
257
-               TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) .
258
-               TableRenderer::renderBody($data, $this->_columns) .
259
-               TableRenderer::close();
257
+                TableRenderer::renderHeaders($this->_fetchHeaders(), $this->_headerFormatters) .
258
+                TableRenderer::renderBody($data, $this->_columns) .
259
+                TableRenderer::close();
260 260
     }
261 261
 
262 262
     /**
Please login to merge, or discard this patch.
src/Models/HeaderFormatters/SortableHeader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * @return string
215 215
      * @throws \RuntimeException
216 216
      */
217
-    private function _buildSortQuery(string $columnName, string &$oldDirection)
217
+    private function _buildSortQuery(string $columnName, string & $oldDirection)
218 218
     {
219 219
         $parameters = UrlHelper::queryParameters();
220 220
         if (!isset($parameters['sort']))
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      * @param string $queryString
245 245
      * @return null|string
246 246
      */
247
-    private function _getDirectionFromQuery(string $columnName, string $queryString) : ?string
247
+    private function _getDirectionFromQuery(string $columnName, string $queryString) : ? string
248 248
     {
249 249
         $column = $columnName . self::SORTING_SEPARATOR;
250 250
         $columnPos = \mb_strpos($queryString, $column);
Please login to merge, or discard this patch.