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 | */ |
20 | 20 | public function getEntry($id) |
21 | 21 | { |
22 | - if (! $this->entry) { |
|
22 | + if (!$this->entry) { |
|
23 | 23 | $this->entry = $this->model->findOrFail($id); |
24 | 24 | $this->entry = $this->entry->withFakes(); |
25 | 25 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | public function hasUploadFields($form, $id = false) |
95 | 95 | { |
96 | 96 | $fields = $this->getFields($form, $id); |
97 | - $upload_fields = array_where($fields, function ($value, $key) { |
|
97 | + $upload_fields = array_where($fields, function($value, $key) { |
|
98 | 98 | return isset($value['upload']) && $value['upload'] == true; |
99 | 99 | }); |
100 | 100 | |
@@ -166,9 +166,9 @@ discard block |
||
166 | 166 | public function getPageLengthMenu() |
167 | 167 | { |
168 | 168 | // if already set, use that |
169 | - if (! $this->page_length_menu) { |
|
169 | + if (!$this->page_length_menu) { |
|
170 | 170 | // try to get the menu settings from the config file |
171 | - if (! $this->page_length_menu = config('backpack.crud.page_length_menu')) { |
|
171 | + if (!$this->page_length_menu = config('backpack.crud.page_length_menu')) { |
|
172 | 172 | // otherwise set a sensible default |
173 | 173 | $this->page_length_menu = [[10, 25, 50, 100, -1], [10, 25, 50, 100, 'backpack::crud.all']]; |
174 | 174 | } |