We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Backpack\PageManager\app\Models; |
4 | 4 | |
5 | 5 | use Backpack\CRUD\CrudTrait; |
6 | -use Illuminate\Database\Eloquent\Model; |
|
7 | 6 | use Cviebrock\EloquentSluggable\Sluggable; |
8 | 7 | use Cviebrock\EloquentSluggable\SluggableScopeHelpers; |
8 | +use Illuminate\Database\Eloquent\Model; |
|
9 | 9 | |
10 | 10 | class Page extends Model |
11 | 11 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Backpack\PageManager; |
4 | 4 | |
5 | -use Route; |
|
6 | 5 | use Illuminate\Routing\Router; |
7 | 6 | use Illuminate\Support\ServiceProvider; |
8 | 7 |
@@ -4,10 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use App\PageTemplates; |
6 | 6 | // VALIDATION: change the requests to match your own file names if you need form validation |
7 | -use Backpack\PageManager\app\TraitReflections; |
|
8 | 7 | use Backpack\CRUD\app\Http\Controllers\CrudController; |
9 | -use Backpack\PageManager\app\Http\Requests\PageRequest as StoreRequest; |
|
10 | 8 | use Backpack\PageManager\app\Http\Requests\PageRequest as UpdateRequest; |
9 | +use Backpack\PageManager\app\TraitReflections; |
|
11 | 10 | |
12 | 11 | class PageCrudController extends CrudController |
13 | 12 | { |
@@ -3,9 +3,9 @@ |
||
3 | 3 | namespace Backpack\PageManager\app\Http\Controllers\Admin; |
4 | 4 | |
5 | 5 | use App\UniquePages; |
6 | -use Backpack\PageManager\app\TraitReflections; |
|
7 | 6 | use Backpack\CRUD\app\Http\Controllers\CrudController; |
8 | 7 | use Backpack\CRUD\app\Http\Controllers\CrudFeatures\SaveActions; |
8 | +use Backpack\PageManager\app\TraitReflections; |
|
9 | 9 | |
10 | 10 | class UniquePageCrudController extends CrudController |
11 | 11 | { |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * Create the page by slug. |
133 | 133 | * |
134 | - * @param $slug |
|
134 | + * @param string $slug |
|
135 | 135 | * @return mixed |
136 | 136 | */ |
137 | 137 | public function createMissingPage($slug) |