@@ -42,7 +42,7 @@ |
||
42 | 42 | protected function renderRadio(\Enjoys\Forms\Element $element): string |
43 | 43 | { |
44 | 44 | $return = ''; |
45 | - /** @var \Enjoys\Forms\Elements\Radio $element */ |
|
45 | + /** @var \Enjoys\Forms\Elements\Radio $element */ |
|
46 | 46 | foreach ($element->getElements() as $data) { |
47 | 47 | $data->addClass('custom-control-input'); |
48 | 48 | $data->addClass('custom-control-label', \Enjoys\Forms\Form::ATTRIBUTES_LABEL); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | protected Form $form; |
42 | 42 | protected array $elements = []; |
43 | 43 | |
44 | - public function __construct(Form $form = null){ |
|
44 | + public function __construct(Form $form = null) { |
|
45 | 45 | $this->form = $this->setForm($form ?? new Form()); |
46 | 46 | } |
47 | 47 | /** |