Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.

Commit fbd7dca

Browse files
authored
Use "break" instead of "continue 1"
1 parent 36799aa commit fbd7dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/Zend/Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ public function addElements(array $elements)
11701170
} else {
11711171
switch ($argc) {
11721172
case 0:
1173-
continue 1;
1173+
break;
11741174
case (1 <= $argc):
11751175
$type = array_shift($spec);
11761176
case (2 <= $argc):
@@ -1687,7 +1687,7 @@ public function addSubForms(array $subForms)
16871687
$order = null;
16881688
switch ($argc) {
16891689
case 0:
1690-
continue 1;
1690+
break;
16911691
case (1 <= $argc):
16921692
$subForm = array_shift($spec);
16931693

0 commit comments

Comments
 (0)