alexbowers /
nova-multiple-dashboard
| 1 | <?php |
||
| 2 | |||
| 3 | use Illuminate\Http\Request; |
||
|
0 ignored issues
–
show
|
|||
| 4 | use Illuminate\Support\Facades\Route; |
||
|
0 ignored issues
–
show
The type
Illuminate\Support\Facades\Route was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 5 | use AlexBowers\MultipleDashboard\Http\Controllers\MultipleDashboardController; |
||
| 6 | |||
| 7 | /* |
||
| 8 | |-------------------------------------------------------------------------- |
||
| 9 | | Tool API Routes |
||
| 10 | |-------------------------------------------------------------------------- |
||
| 11 | | |
||
| 12 | | Here is where you may register API routes for your tool. These routes |
||
| 13 | | are loaded by the ServiceProvider of your tool. They are protected |
||
| 14 | | by your tool's "Authorize" middleware by default. Now, go build! |
||
| 15 | | |
||
| 16 | */ |
||
| 17 | |||
| 18 | Route::get('/dashboards/{dashboard}', MultipleDashboardController::class . '@index'); |
||
| 19 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths