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->applyCrudOrder($this->crud->model->getKeyName(), 'DESC'); |
130 | 130 | } |
131 | 131 |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public function customOrderBy($column, $columnDirection = 'asc') |
72 | 72 | { |
73 | - if (! isset($column['orderLogic'])) { |
|
73 | + if (!isset($column['orderLogic'])) { |
|
74 | 74 | return $this->query; |
75 | 75 | } |
76 | 76 | |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | |
146 | 146 | public function applyCrudOrder($column_name, $column_direction = 'ASC') |
147 | 147 | { |
148 | - if (! $this->driverIsMongoDb()) { |
|
148 | + if (!$this->driverIsMongoDb()) { |
|
149 | 149 | return $this->query->orderByRaw($this->model->getTableWithPrefix().'.'.$column_name.' '.$column_direction); |
150 | 150 | } |
151 | 151 |