We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -30,11 +30,11 @@ discard block |
||
30 | 30 | CRUD::set('reorder.enabled', true); |
31 | 31 | CRUD::allowAccess('reorder'); |
32 | 32 | |
33 | - CRUD::operation('reorder', function () { |
|
33 | + CRUD::operation('reorder', function() { |
|
34 | 34 | CRUD::loadDefaultOperationSettingsFromConfig(); |
35 | 35 | }); |
36 | 36 | |
37 | - CRUD::operation('list', function () { |
|
37 | + CRUD::operation('list', function() { |
|
38 | 38 | CRUD::addButton('top', 'reorder', 'view', 'crud::buttons.reorder'); |
39 | 39 | }); |
40 | 40 | } |
@@ -48,11 +48,11 @@ discard block |
||
48 | 48 | return view('crud::simple-reorder', [ |
49 | 49 | 'entries' => $this->crud->getEntries()->sortBy($column)->keyBy($this->crud->getModel()->getKeyName()), |
50 | 50 | 'crud' => $this->crud, |
51 | - 'title' => $this->crud->getTitle() ?? trans('backpack::crud.reorder') . ' ' . $this->crud->entity_name, |
|
51 | + 'title' => $this->crud->getTitle() ?? trans('backpack::crud.reorder').' '.$this->crud->entity_name, |
|
52 | 52 | ]); |
53 | 53 | } |
54 | 54 | |
55 | - public function saveReorder(Request $request): string|false |
|
55 | + public function saveReorder(Request $request): string | false |
|
56 | 56 | { |
57 | 57 | CRUD::hasAccessOrFail('reorder'); |
58 | 58 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | return false; |
63 | 63 | } |
64 | 64 | |
65 | - DB::transaction(function () use ($entries) { |
|
65 | + DB::transaction(function() use ($entries) { |
|
66 | 66 | $primaryKey = $this->crud->model->getKeyName(); |
67 | 67 | $table = $this->crud->model->getTable(); |
68 | 68 | $connection = $this->crud->model->getConnectionName(); |