| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 118 | public function boot() |
|
| 37 | { |
||
| 38 | 118 | $this->configureRateLimiting(); |
|
| 39 | |||
| 40 | 118 | $this->routes(function () { |
|
| 41 | 118 | Route::prefix('api') |
|
| 42 | 118 | ->middleware('api') |
|
| 43 | 118 | ->namespace($this->namespace) |
|
| 44 | 118 | ->group(base_path('routes/api.php')); |
|
| 45 | |||
| 46 | 118 | Route::middleware('web') |
|
| 47 | 118 | ->namespace($this->namespace) |
|
| 48 | 118 | ->group(base_path('routes/web.php')); |
|
| 49 | 118 | }); |
|
| 64 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.