We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -389,10 +389,12 @@ |
||
| 389 | 389 | return $this->fallbackLogic($value); |
| 390 | 390 | } |
| 391 | 391 | |
| 392 | - public function else($value) |
|
| 392 | + public function else { |
|
| 393 | + ($value) |
|
| 393 | 394 | { |
| 394 | 395 | return $this->fallbackLogic($value); |
| 395 | 396 | } |
| 397 | + } |
|
| 396 | 398 | |
| 397 | 399 | // --------------- |
| 398 | 400 | // PRIVATE METHODS |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | if ($request instanceof \Illuminate\Foundation\Http\FormRequest) { |
| 95 | 95 | $item = $this->crud->update($request->get($this->crud->model->getKeyName()), |
| 96 | 96 | $request->validated()); |
| 97 | - }else{ |
|
| 97 | + } else{ |
|
| 98 | 98 | $item = $this->crud->update($request->get($this->crud->model->getKeyName()), |
| 99 | 99 | $this->crud->getStrippedSaveRequest()); |
| 100 | 100 | } |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | // insert item in the db |
| 79 | 79 | if ($request instanceof \Illuminate\Foundation\Http\FormRequest) { |
| 80 | 80 | $item = $this->crud->create($request->validated()); |
| 81 | - }else{ |
|
| 81 | + } else{ |
|
| 82 | 82 | $item = $this->crud->create($this->crud->getStrippedSaveRequest()); |
| 83 | 83 | } |
| 84 | 84 | $this->data['entry'] = $this->crud->entry = $item; |