Completed
Push — master ( 469abd...76f272 )
by Timo
04:05
created
src/Models/DataComponents/DataScout.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,8 +136,8 @@
 block discarded – undo
136 136
     public function render(): string
137 137
     {
138 138
         return '<form method="get" action="' . $this->_buildSearchUrl() .
139
-               '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
140
-               $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
141
-               $this->_buttonText . '</button></div></div></form>';
139
+                '"><div class="row"><div class="col-md-10"><input name="search" class="form-control data-scout-input" placeholder="' .
140
+                $this->_placeholder . '"/></div><div class="col-md-2"><button type="submit" class="btn btn-primary">' .
141
+                $this->_buttonText . '</button></div></div></form>';
142 142
     }
143 143
 }
144 144
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             return $this->_queryBuilder;
56 56
         }
57 57
 
58
-        $this->_queryBuilder->where(function ($query)
58
+        $this->_queryBuilder->where(function($query)
59 59
         {
60 60
             foreach ($this->_searchQueries as $value)
61 61
             {
Please login to merge, or discard this patch.
src/Models/DataTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         /** @var Column $column */
162 162
         $column = \array_first(
163 163
             $this->_columns,
164
-            function ($index, $column) use ($columnName)
164
+            function($index, $column) use ($columnName)
165 165
             {
166 166
                 return $column->name === $columnName;
167 167
             }
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
         }
274 274
 
275 275
         $headers = array_map(
276
-            function ($column)
276
+            function($column)
277 277
             {
278 278
                 return Header::createFromColumn($column);
279 279
             },
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      */
360 360
     private function _getColumnNames(): array
361 361
     {
362
-        return \array_map(function ($column) { return $column->name; }, $this->_columns);
362
+        return \array_map(function($column) { return $column->name; }, $this->_columns);
363 363
     }
364 364
 
365 365
     /**
Please login to merge, or discard this patch.