@@ -349,7 +349,7 @@ |
||
349 | 349 | } |
350 | 350 | |
351 | 351 | /** |
352 | - * @return bool |
|
352 | + * @return integer |
|
353 | 353 | */ |
354 | 354 | public function hasDynamicForms() |
355 | 355 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Del\Form\Renderer\Field\FieldRendererInterface; |
15 | 15 | use Del\Form\Renderer\Field\TextRender; |
16 | 16 | use Del\Form\Traits\HasAttributesTrait; |
17 | -use Del\Form\Validator\Adapter\ValidatorAdapterZf; |
|
18 | 17 | use Del\Form\Validator\NotEmpty; |
19 | 18 | use Del\Form\Validator\ValidatorInterface; |
20 | 19 | use Exception; |
@@ -124,6 +124,9 @@ discard block |
||
124 | 124 | return $form->getId() ?: $this->form->getAttribute('name'); |
125 | 125 | } |
126 | 126 | |
127 | + /** |
|
128 | + * @param integer $dynamicTriggerValue |
|
129 | + */ |
|
127 | 130 | private function processFields(FieldCollection $fields, $dynamicTriggerValue = null) |
128 | 131 | { |
129 | 132 | $count = $fields->count(); |
@@ -220,7 +223,7 @@ discard block |
||
220 | 223 | } |
221 | 224 | |
222 | 225 | /** |
223 | - * @return DOMElement |
|
226 | + * @return \DOMElement |
|
224 | 227 | */ |
225 | 228 | protected function createLabelElement() |
226 | 229 | { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | $this->field = $fields->current(); |
134 | 134 | $finaliseDynamicBlock = ($x == $count) ? true : false; |
135 | 135 | $this->renderField($dynamicTriggerValue, $finaliseDynamicBlock); |
136 | - $x ++ ; |
|
136 | + $x++; |
|
137 | 137 | $fields->next(); |
138 | 138 | } |
139 | 139 | $fields->rewind(); |