| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 29 | public function boot() |
|
| 20 | { |
||
| 21 | 29 | if ($this->app->runningInConsole() && function_exists('config_path')) { |
|
| 22 | 29 | $this->publishes([ |
|
| 23 | 29 | __DIR__ . '/../config/sms.php' => config_path('sms.php'), |
|
| 24 | 29 | ], 'config'); |
|
| 25 | } |
||
| 26 | |||
| 27 | 29 | $this->mergeConfigFrom(__DIR__ . '/../config/sms.php', 'sms'); |
|
| 28 | 29 | } |
|
| 42 |