Completed
Push — master ( fbddd9...3d9787 )
by Derek Stephen
06:15
created
src/Renderer/Field/RadioRender.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param FieldInterface $field
56 56
      * @param $value
57 57
      * @param $labelText
58
-     * @param $inline
58
+     * @param boolean $inline
59 59
      * @return DOMElement
60 60
      */
61 61
     private function renderRadio(FieldInterface $field, $value, $labelText, $inline)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,9 +78,9 @@
 block discarded – undo
78 78
      */
79 79
     private function getLabel(FieldInterface $field, string $labelText): DOMElement
80 80
     {
81
-        $this->counter ++;
81
+        $this->counter++;
82 82
         $label = $this->getDom()->createElement('label');
83
-        $label->setAttribute('for', $field->getId() . $this->counter);
83
+        $label->setAttribute('for', $field->getId().$this->counter);
84 84
         $label->setAttribute('class', 'form-check-label');
85 85
         $text = $this->createText($labelText);
86 86
         $label->appendChild($text);
Please login to merge, or discard this patch.
src/Renderer/Field/CheckboxRender.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
      */
98 98
     private function getLabel(FieldInterface $field, string $labelText): DOMElement
99 99
     {
100
-        $this->counter ++;
100
+        $this->counter++;
101 101
         $label = $this->getDom()->createElement('label');
102
-        $label->setAttribute('for', $field->getId() . $this->counter);
102
+        $label->setAttribute('for', $field->getId().$this->counter);
103 103
         $label->setAttribute('class', 'form-check-label');
104 104
         $text = $this->createText($labelText);
105 105
         $label->appendChild($text);
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         $checkbox = $this->getDom()->createElement('input');
119 119
         $checkbox->setAttribute('class', 'form-check-input');
120 120
         $checkbox->setAttribute('type', 'checkbox');
121
-        $fieldName = $this->isMultiCheckbox ? $field->getName() . '[]' : $field->getName();
121
+        $fieldName = $this->isMultiCheckbox ? $field->getName().'[]' : $field->getName();
122 122
         $checkbox->setAttribute('name', $fieldName);
123 123
         $checkbox->setAttribute('value', $value);
124 124
         $fieldValue = $field->getValue();
Please login to merge, or discard this patch.