| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | protected function resolveAttributes(): AbstractHtmlElement |
||
| 14 | { |
||
| 15 | return parent::resolveAttributes() |
||
| 16 | ->addAttribute('name', $this->name) |
||
|
|
|||
| 17 | ->addAttribute('disabled', $this->disabled) |
||
| 18 | ->addAttribute('readonly', $this->readonly) |
||
| 19 | ->addAttribute('required', $this->required) |
||
| 20 | ->addAttribute('placeholder', $this->placeholder); |
||
| 21 | } |
||
| 23 |