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