Skip to content

Commit

Permalink
Fixed continue not in a loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcaskill committed Sep 7, 2016
1 parent 0dfbb32 commit b280496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Charcoal/Ui/Form/FormTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public function addGroup($groupIdent, $group)
$g->setData($group);
$this->groups[$groupIdent] = $g;
} elseif ($group === false || $group === null) {
continue;
return $this;
} else {
throw new InvalidArgumentException(
sprintf(
Expand Down

0 comments on commit b280496

Please sign in to comment.