| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2.004 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 14 | protected function routes() |
|
| 29 | { |
||
| 30 | 14 | if ($this->app->routesAreCached()) { |
|
| 31 | return; |
||
| 32 | } |
||
| 33 | |||
| 34 | 14 | Route::middleware(['nova']) |
|
| 35 | 14 | ->prefix('nova-vendor/nova-list-card') |
|
| 36 | 14 | ->group(function () { |
|
| 37 | 14 | Route::get( |
|
| 38 | 14 | '/{key}', |
|
| 39 | 14 | \NovaListCard\Http\Controllers\ResourceController::class |
|
| 40 | 14 | )->name('nova-list-card.data'); |
|
| 41 | 14 | }); |
|
| 51 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.