We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | { |
36 | 36 | $this->crud->allowAccess('update'); |
37 | 37 | |
38 | - $this->crud->operation('update', function () { |
|
38 | + $this->crud->operation('update', function() { |
|
39 | 39 | $this->crud->loadDefaultOperationSettingsFromConfig(); |
40 | 40 | |
41 | 41 | if ($this->crud->getModel()->translationEnabled()) { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $this->crud->setupDefaultSaveActions(); |
50 | 50 | }); |
51 | 51 | |
52 | - $this->crud->operation(['list', 'show'], function () { |
|
52 | + $this->crud->operation(['list', 'show'], function() { |
|
53 | 53 | $this->crud->addButton('line', 'update', 'view', 'crud::buttons.update', 'end'); |
54 | 54 | }); |
55 | 55 | } |
@@ -94,7 +94,7 @@ discard block |
||
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 | } |
@@ -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 | } |
@@ -35,12 +35,12 @@ discard block |
||
35 | 35 | { |
36 | 36 | $this->crud->allowAccess('create'); |
37 | 37 | |
38 | - $this->crud->operation('create', function () { |
|
38 | + $this->crud->operation('create', function() { |
|
39 | 39 | $this->crud->loadDefaultOperationSettingsFromConfig(); |
40 | 40 | $this->crud->setupDefaultSaveActions(); |
41 | 41 | }); |
42 | 42 | |
43 | - $this->crud->operation('list', function () { |
|
43 | + $this->crud->operation('list', function() { |
|
44 | 44 | $this->crud->addButton('top', 'create', 'view', 'crud::buttons.create'); |
45 | 45 | }); |
46 | 46 | } |
@@ -78,7 +78,7 @@ discard block |
||
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; |
@@ -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; |