| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function boot() |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Export the config file |
||
| 18 | * php artisan vendor:publish --provider="Sreedev\Slack\SlackServiceProvider" --tag="config" |
||
| 19 | **/ |
||
| 20 | if ($this->app->runningInConsole()) { |
||
| 21 | |||
| 22 | $this->publishes([ |
||
| 23 | __DIR__.'/../config/config.php' => config_path('slack.php'), |
||
| 24 | ], 'config'); |
||
| 25 | |||
| 42 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.