| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class PersonFormIndi |
||
| 9 | { |
||
| 10 | protected const TemplatePath = __DIR__.'/../Templates/personindi.json'; |
||
| 11 | |||
| 12 | protected Form $form; |
||
| 13 | |||
| 14 | public function __construct() |
||
| 15 | { |
||
| 16 | $this->form = new Form(static::TemplatePath); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function create() |
||
| 20 | { |
||
| 21 | return $this->form->create(); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function edit(Person $person) |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.