| Total Complexity | 2 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Coverage | 93.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class RouteServiceProvider extends ServiceProvider |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The path to the "home" route for your application. |
||
| 15 | * |
||
| 16 | * This is used by Laravel authentication to redirect users after login. |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | public const HOME = '/home'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * If specified, this namespace is automatically applied to your controller routes. |
||
| 24 | * |
||
| 25 | * In addition, it is set as the URL generator's root namespace. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $namespace; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Define your route model bindings, pattern filters, etc. |
||
| 33 | */ |
||
| 34 | 99 | public function boot() |
|
| 52 | ; |
||
| 53 | }); |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Configure the rate limiters for the application. |
||
| 58 | */ |
||
| 59 | 99 | protected function configureRateLimiting() |
|
| 66 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.