We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -1,12 +1,8 @@ |
||
1 | 1 | <?php namespace Backpack\Settings\app\Http\Controllers; |
2 | 2 | |
3 | -use Illuminate\Http\Request; |
|
4 | -use App\Http\Requests; |
|
5 | -use App\Http\Controllers\Controller; |
|
6 | 3 | use Backpack\CRUD\app\Http\Controllers\CrudController; |
7 | 4 | |
8 | 5 | // VALIDATION |
9 | -use Backpack\Settings\app\Http\Requests\SettingRequest as StoreRequest; |
|
10 | 6 | use Backpack\Settings\app\Http\Requests\SettingRequest as UpdateRequest; |
11 | 7 | |
12 | 8 | class SettingCrudController extends CrudController { |
@@ -88,8 +88,7 @@ discard block |
||
88 | 88 | if (view()->exists('vendor.dick.crud.list')) |
89 | 89 | { |
90 | 90 | return view('vendor.dick.crud.list', $this->data); |
91 | - } |
|
92 | - else |
|
91 | + } else |
|
93 | 92 | { |
94 | 93 | return view('crud::list', $this->data); |
95 | 94 | } |
@@ -134,8 +133,7 @@ discard block |
||
134 | 133 | if (view()->exists('vendor.dick.crud.edit')) |
135 | 134 | { |
136 | 135 | return view('vendor.dick.crud.edit', $this->data); |
137 | - } |
|
138 | - else |
|
136 | + } else |
|
139 | 137 | { |
140 | 138 | return view('crud::edit', $this->data); |
141 | 139 | } |
@@ -1,11 +1,10 @@ |
||
1 | 1 | <?php namespace Backpack\Settings; |
2 | 2 | |
3 | -use Illuminate\Routing\Router; |
|
4 | -use Illuminate\Support\ServiceProvider; |
|
5 | -use Illuminate\Support\Facades\DB; |
|
6 | -use Illuminate\Database\Eloquent\Model as Eloquent; |
|
7 | 3 | use Backpack\Settings\app\Models\Setting as Setting; |
8 | 4 | use Config; |
5 | +use Illuminate\Routing\Router; |
|
6 | +use Illuminate\Support\Facades\DB; |
|
7 | +use Illuminate\Support\ServiceProvider; |
|
9 | 8 | |
10 | 9 | class SettingsServiceProvider extends ServiceProvider |
11 | 10 | { |