| Total Complexity | 4 | 
| Total Lines | 48 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 7 | class JazzCMSServiceProvider extends ServiceProvider | ||
| 8 | { | ||
| 9 | /** | ||
| 10 | * Bootstrap the application services. | ||
| 11 | * | ||
| 12 | * @return void | ||
| 13 | */ | ||
| 14 | public function boot() | ||
| 18 | } | ||
| 19 | |||
| 20 | /** | ||
| 21 | * Register the application services. | ||
| 22 | * | ||
| 23 | * @return void | ||
| 24 | */ | ||
| 25 | public function register() | ||
| 26 |     { | ||
| 27 | $configPath = __DIR__ . '/../config/jazz-cms.php'; | ||
| 28 | $this->mergeConfigFrom($configPath, 'jazz-cms'); | ||
| 29 | |||
| 30 |         $this->app->bind(JazzCMS::class, function ($app) { | ||
|  | |||
| 31 | return new JazzCMS; | ||
| 32 | }); | ||
| 33 | |||
| 34 | $this->app->alias(JazzCMS::class, 'JazzCMS'); | ||
| 35 | } | ||
| 36 | |||
| 37 | /** | ||
| 38 | * Get the config path | ||
| 39 | * | ||
| 40 | * @return string | ||
| 41 | */ | ||
| 42 | protected function getConfigPath() | ||
| 43 |     { | ||
| 44 |         return config_path('jazz-cms.php'); | ||
| 45 | } | ||
| 46 | |||
| 47 | /** | ||
| 48 | * Publish the config file | ||
| 49 | * | ||
| 50 | * @param string $configPath | ||
| 51 | */ | ||
| 52 | protected function publishConfig($configPath) | ||
| 55 | } | ||
| 56 | } | ||
| 57 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.