We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function getEntry($id) |
| 58 | 58 | { |
| 59 | - if (! $this->entry) { |
|
| 59 | + if (!$this->entry) { |
|
| 60 | 60 | $this->entry = $this->getModelWithCrudPanelQuery()->findOrFail($id); |
| 61 | 61 | $this->entry = $this->entry->withFakes(); |
| 62 | 62 | } |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | public function getEntryWithLocale($id) |
| 75 | 75 | { |
| 76 | - if (! $this->entry) { |
|
| 76 | + if (!$this->entry) { |
|
| 77 | 77 | $this->entry = $this->getEntry($id); |
| 78 | 78 | } |
| 79 | 79 | |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | public function enableDetailsRow() |
| 164 | 164 | { |
| 165 | - if (! backpack_pro()) { |
|
| 165 | + if (!backpack_pro()) { |
|
| 166 | 166 | throw new BackpackProRequiredException('Details row'); |
| 167 | 167 | } |
| 168 | 168 | |
@@ -226,11 +226,11 @@ discard block |
||
| 226 | 226 | { |
| 227 | 227 | $pageLengthMenu = $this->getPageLengthMenu(); |
| 228 | 228 | |
| 229 | - if(in_array(-1, $pageLengthMenu[0])) { |
|
| 229 | + if (in_array(-1, $pageLengthMenu[0])) { |
|
| 230 | 230 | return -1; |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | - return (int)max($pageLengthMenu[0]); |
|
| 233 | + return (int) max($pageLengthMenu[0]); |
|
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 | /** |
@@ -276,7 +276,7 @@ discard block |
||
| 276 | 276 | // we will apply the same labels as the values to the menu if developer didn't |
| 277 | 277 | $this->abortIfInvalidPageLength($menu[0]); |
| 278 | 278 | |
| 279 | - if (! isset($menu[1]) || ! is_array($menu[1])) { |
|
| 279 | + if (!isset($menu[1]) || !is_array($menu[1])) { |
|
| 280 | 280 | $menu[1] = $menu[0]; |
| 281 | 281 | } |
| 282 | 282 | } else { |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | */ |
| 365 | 365 | public function enableExportButtons() |
| 366 | 366 | { |
| 367 | - if (! backpack_pro()) { |
|
| 367 | + if (!backpack_pro()) { |
|
| 368 | 368 | throw new BackpackProRequiredException('Export buttons'); |
| 369 | 369 | } |
| 370 | 370 | |