From b2804962bcdc5e52ff908aa05e2fe83c08bcc7f5 Mon Sep 17 00:00:00 2001 From: Chauncey McAskill Date: Wed, 7 Sep 2016 14:58:04 -0400 Subject: [PATCH] Fixed continue not in a loop. --- src/Charcoal/Ui/Form/FormTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Charcoal/Ui/Form/FormTrait.php b/src/Charcoal/Ui/Form/FormTrait.php index 7038240a..09689b8b 100644 --- a/src/Charcoal/Ui/Form/FormTrait.php +++ b/src/Charcoal/Ui/Form/FormTrait.php @@ -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(