| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class LaravelCookieConsentServiceProvider extends ServiceProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Bootstrap the application events. |
||
| 12 | * |
||
| 13 | * @return void |
||
| 14 | */ |
||
| 15 | public function boot(Router $router) |
||
|
|
|||
| 16 | { |
||
| 17 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-cookie-consent'); |
||
| 18 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'laravel-cookie-consent'); |
||
| 19 | |||
| 20 | $this->publishes([__DIR__.'/../config/config.php' => config_path('laravel-cookie-consent.php')], 'config'); |
||
| 21 | $this->publishes([__DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-cookie-consent')], 'lang'); |
||
| 22 | $this->publishes([__DIR__.'/../resources/js' => public_path('vendor/laravel-cookie-consent')], 'public'); |
||
| 23 | $this->publishes([__DIR__.'/../resources/css' => public_path('vendor/laravel-cookie-consent')], 'public'); |
||
| 24 | $this->publishes([__DIR__.'/../resources/views' => resource_path('views/vendor/laravel-cookie-consent')], 'views'); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Register the service provider. |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public function register() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.