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 | $id = $this->getCurrentEntryId(); |
43 | 43 | |
44 | - if (! $id) { |
|
44 | + if (!$id) { |
|
45 | 45 | return false; |
46 | 46 | } |
47 | 47 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function getEntry($id) |
59 | 59 | { |
60 | - if (! $this->entry) { |
|
60 | + if (!$this->entry) { |
|
61 | 61 | $this->entry = $this->model->findOrFail($id); |
62 | 62 | $this->entry = $this->entry->withFakes(); |
63 | 63 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | public function hasUploadFields($form, $id = false) |
133 | 133 | { |
134 | 134 | $fields = $this->getFields($form, $id); |
135 | - $upload_fields = array_where($fields, function ($value, $key) { |
|
135 | + $upload_fields = array_where($fields, function($value, $key) { |
|
136 | 136 | return isset($value['upload']) && $value['upload'] == true; |
137 | 137 | }); |
138 | 138 | |
@@ -204,9 +204,9 @@ discard block |
||
204 | 204 | public function getPageLengthMenu() |
205 | 205 | { |
206 | 206 | // if already set, use that |
207 | - if (! $this->page_length_menu) { |
|
207 | + if (!$this->page_length_menu) { |
|
208 | 208 | // try to get the menu settings from the config file |
209 | - if (! $this->page_length_menu = config('backpack.crud.page_length_menu')) { |
|
209 | + if (!$this->page_length_menu = config('backpack.crud.page_length_menu')) { |
|
210 | 210 | // otherwise set a sensible default |
211 | 211 | $this->page_length_menu = [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'backpack::crud.all']]; |
212 | 212 | } |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $id = $this->crud->getCurrentEntryId() ?? $id; |
48 | 48 | |
49 | 49 | $revisionId = \Request::input('revision_id', false); |
50 | - if (! $revisionId) { |
|
50 | + if (!$revisionId) { |
|
51 | 51 | abort(500, 'Can\'t restore revision without revision_id'); |
52 | 52 | } else { |
53 | 53 | $this->crud->restoreRevision($id, $revisionId); // do the update |