Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2.0078 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | 6 | protected function routes() |
|
43 | { |
||
44 | 6 | if ($this->app->routesAreCached()) { |
|
45 | return; |
||
46 | } |
||
47 | |||
48 | 6 | Nova::router(['nova', Authenticate::class, Authorize::class], 'nova-laravel-filemanager') |
|
49 | 6 | ->group(__DIR__.'/../routes/inertia.php'); |
|
50 | |||
51 | 6 | Route::middleware(['nova', Authorize::class]) |
|
52 | 6 | ->prefix('nova-vendor/nova-laravel-filemanager') |
|
53 | 6 | ->group(__DIR__.'/../routes/api.php'); |
|
54 | } |
||
56 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.