| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | 6 | public function register(): void |
|
| 13 | { |
||
| 14 | /** @var \Illuminate\Contracts\Config\Repository $config */ |
||
| 15 | 6 | $config = $this->app->get('config'); |
|
| 16 | |||
| 17 | 6 | $config->set( |
|
| 18 | 6 | 'ide-helper.model_hooks', |
|
| 19 | 6 | array_merge( |
|
| 20 | 6 | [RecursiveRelationsHook::class], |
|
| 21 | 6 | $config->get('ide-helper.model_hooks', []) |
|
| 22 | 6 | ) |
|
| 33 |