We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $this->data['title'] = ucfirst($this->crud->entity_name_plural); |
38 | 38 | |
39 | 39 | // get all entries if AJAX is not enabled |
40 | - if (! $this->data['crud']->ajaxTable()) { |
|
40 | + if (!$this->data['crud']->ajaxTable()) { |
|
41 | 41 | $this->data['entries'] = $this->data['crud']->getEntries(); |
42 | 42 | } |
43 | 43 | |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | // is somewhat superfluous.. however if we are POSTing, it makes sense to actually have data to post. |
220 | 220 | // Perhaps the route shoud be better named to reflect this (e.g. just /model/{id}/revisions) (??) |
221 | 221 | $revisionId = \Request::input('revision_id', false); |
222 | - if (! $revisionId) { |
|
222 | + if (!$revisionId) { |
|
223 | 223 | abort(500, 'Can\'t restore revision without revision_id'); |
224 | 224 | } else { |
225 | 225 | $this->crud->restoreRevision($id, $revisionId); // do the update |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | { |
260 | 260 | $this->crud->hasAccessOrFail('reorder'); |
261 | 261 | |
262 | - if (! $this->crud->isReorderEnabled()) { |
|
262 | + if (!$this->crud->isReorderEnabled()) { |
|
263 | 263 | abort(403, 'Reorder is disabled.'); |
264 | 264 | } |
265 | 265 | |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | $dataTable = new DataTable($this->crud->query, $columns); |
331 | 331 | |
332 | 332 | // make the datatable use the column types instead of just echoing the text |
333 | - $dataTable->setFormatRowFunction(function ($entry) { |
|
333 | + $dataTable->setFormatRowFunction(function($entry) { |
|
334 | 334 | // get the actual HTML for each row's cell |
335 | 335 | $row_items = $this->crud->getRowViews($entry, $this->crud); |
336 | 336 | |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | } else { |
376 | 376 | $existing_entity = $this->crud->model->where([$field_name => $check_value])->first(); |
377 | 377 | |
378 | - if (! $existing_entity) { |
|
378 | + if (!$existing_entity) { |
|
379 | 379 | $response['success'] = true; |
380 | 380 | $response['message'] = null; |
381 | 381 | } else { |