| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class FormInput extends Component |
||
| 6 | { |
||
| 7 | use HandlesValidationErrors; |
||
| 8 | use HandlesDefaultAndOldValue; |
||
| 9 | |||
| 10 | public string $name; |
||
| 11 | public string $label; |
||
| 12 | public string $type; |
||
| 13 | |||
| 14 | public $value; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Create a new component instance. |
||
| 18 | * |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | public function __construct( |
||
| 42 |