Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class EmptyControl extends Text |
||
16 | { |
||
17 | protected string $templateInput = '%3$s'; |
||
18 | |||
19 | 1 | public function getValue() |
|
20 | { |
||
21 | 1 | return null; |
|
22 | } |
||
23 | |||
24 | 1 | public function setValue(/** @scrutinizer ignore-unused */ $value): void |
|
26 | // intentionally nothing |
||
27 | 1 | } |
|
28 | |||
29 | /** |
||
30 | * Return input entry in HTML |
||
31 | * @param string|string[]|array|null $attributes |
||
32 | * @throws RenderException |
||
33 | * @return string |
||
34 | */ |
||
35 | 3 | public function renderInput($attributes = null): string |
|
40 |