We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | $dataTable = new \LiveControl\EloquentDataTable\DataTable($this->crud->query, $columns); |
| 20 | 20 | |
| 21 | 21 | // make the datatable use the column types instead of just echoing the text |
| 22 | - $dataTable->setFormatRowFunction(function ($entry) { |
|
| 22 | + $dataTable->setFormatRowFunction(function($entry) { |
|
| 23 | 23 | // get the actual HTML for each row's cell |
| 24 | 24 | $row_items = $this->crud->getRowViews($entry, $this->crud); |
| 25 | 25 | |
@@ -55,15 +55,15 @@ discard block |
||
| 55 | 55 | // create an array with the names of the searchable columns |
| 56 | 56 | $columns = collect($this->crud->columns) |
| 57 | 57 | // Excludes fields that are not searchable |
| 58 | - ->reject(function ($column, $key) { |
|
| 58 | + ->reject(function($column, $key) { |
|
| 59 | 59 | return array_get($column, 'searchable', true) === false; |
| 60 | 60 | }) |
| 61 | 61 | // Excludes fields on a relation |
| 62 | - ->reject(function ($column, $key) { |
|
| 62 | + ->reject(function($column, $key) { |
|
| 63 | 63 | return array_key_exists('entity', $column); |
| 64 | 64 | }) |
| 65 | 65 | // Excludes field types with no column |
| 66 | - ->reject(function ($column, $key) { |
|
| 66 | + ->reject(function($column, $key) { |
|
| 67 | 67 | return in_array(array_get($column, 'type'), ['select_multiple', 'model_function', 'model_function_attribute']); |
| 68 | 68 | }) |
| 69 | 69 | ->pluck('name') |