We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | { |
42 | 42 | $this->crud->allowAccess('list'); |
43 | 43 | |
44 | - $this->crud->operation('list', function () { |
|
44 | + $this->crud->operation('list', function() { |
|
45 | 45 | $this->crud->loadDefaultOperationSettingsFromConfig(); |
46 | 46 | }); |
47 | 47 | } |
@@ -114,8 +114,8 @@ discard block |
||
114 | 114 | // if there was an order set, this will be the last one (after all others were applied) |
115 | 115 | $orderBy = $this->crud->query->getQuery()->orders; |
116 | 116 | $hasOrderByPrimaryKey = false; |
117 | - collect($orderBy)->each(function ($item, $key) use ($hasOrderByPrimaryKey) { |
|
118 | - if (! isset($item['column'])) { |
|
117 | + collect($orderBy)->each(function($item, $key) use ($hasOrderByPrimaryKey) { |
|
118 | + if (!isset($item['column'])) { |
|
119 | 119 | return false; |
120 | 120 | } |
121 | 121 | |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | return false; |
126 | 126 | } |
127 | 127 | }); |
128 | - if (! $hasOrderByPrimaryKey) { |
|
128 | + if (!$hasOrderByPrimaryKey) { |
|
129 | 129 | $this->crud->query->orderByRaw($this->crud->model->getTable().'.'.$this->crud->model->getKeyName().' DESC'); |
130 | 130 | } |
131 | 131 |