Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | 273 | public function boot() |
|
36 | { |
||
37 | 273 | $config = realpath(__DIR__).'/../config/audit.php'; |
|
38 | |||
39 | 273 | if ($this->app->runningInConsole()) { |
|
40 | 273 | $this->publishes([ |
|
41 | 273 | $config => base_path('config/audit.php'), |
|
42 | ]); |
||
43 | } |
||
44 | |||
45 | 273 | $this->mergeConfigFrom($config, 'audit'); |
|
46 | 273 | } |
|
76 |