We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | { |
39 | 39 | $id = $this->getCurrentEntryId(); |
40 | 40 | |
41 | - if (! $id) { |
|
41 | + if (!$id) { |
|
42 | 42 | return false; |
43 | 43 | } |
44 | 44 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function getEntry($id) |
56 | 56 | { |
57 | - if (! $this->entry) { |
|
57 | + if (!$this->entry) { |
|
58 | 58 | $this->entry = $this->model->findOrFail($id); |
59 | 59 | $this->entry = $this->entry->withFakes(); |
60 | 60 | } |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | { |
206 | 206 | // If the default Page Length isn't in the menu's values, Add it the beginnin and resort all to show a croissant list. |
207 | 207 | // assume both arrays are the same length. |
208 | - if (! in_array($this->getDefaultPageLength(), $this->getOperationSetting('pageLengthMenu')[0])) { |
|
208 | + if (!in_array($this->getDefaultPageLength(), $this->getOperationSetting('pageLengthMenu')[0])) { |
|
209 | 209 | // Loop through 2 arrays of prop. pageLengthMenu |
210 | 210 | $values = $this->getOperationSetting('pageLengthMenu')[0]; |
211 | 211 | $labels = $this->getOperationSetting('pageLengthMenu')[1]; |
@@ -230,13 +230,13 @@ discard block |
||
230 | 230 | public function setPageLengthMenu($menu) |
231 | 231 | { |
232 | 232 | // validates the correct building of the menu array |
233 | - if (isset($menu[0]) && ! is_null($menu[0])) { |
|
233 | + if (isset($menu[0]) && !is_null($menu[0])) { |
|
234 | 234 | |
235 | 235 | // developer defined as setPageLengthMenu([[50, 100, 300], ['f', 'h', 't']]) |
236 | 236 | if (is_array($menu[0])) { |
237 | 237 | // developer defined as setPageLengthMenu([[50, 100, 300]]) |
238 | 238 | // we will apply the same labels as the values to the menu |
239 | - if (! isset($menu[1]) || ! is_array($menu[1])) { |
|
239 | + if (!isset($menu[1]) || !is_array($menu[1])) { |
|
240 | 240 | $menu[1] = $menu[0]; |
241 | 241 | } |
242 | 242 | } else { |