| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait HasModel |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The parent model instance |
||
| 16 | */ |
||
| 17 | protected Model|Layout|null $model = null; |
||
| 18 | |||
| 19 | /** @deprecated */ |
||
| 20 | 1 | public function model(): Layout|Model|null |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @deprecated I have no Idea where this used, and why we should keep it? |
||
| 27 | */ |
||
| 28 | 16 | public function setModel(Model|Layout|null $model): static |
|
| 35 |