Skip to content

Commit cdad1ae

Browse files
committed
InlineRadioWidget: code fix documentations and errors
1 parent 8afad87 commit cdad1ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/View/Widget/InlineRadioWidget.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ protected function _renderInput($val, $text, $data, $context): string
6969
'name' => $radio['name'],
7070
'value' => $escape ? h($radio['value']) : $radio['value'],
7171
'templateVars' => $radio['templateVars'],
72-
'attrs' => $this->_templates->formatAttributes($radio + $data, ['name', 'value', 'text', 'options', 'label', 'val', 'type']),
72+
'attrs' => $this->_templates->formatAttributes(
73+
$radio + $data,
74+
['name', 'value', 'text', 'options', 'label', 'val', 'type']
75+
),
7376
]);
7477
$label = $this->_renderLabel(
7578
$radio,

0 commit comments

Comments
 (0)