diff --git a/lib/MForm/MFormElements.php b/lib/MForm/MFormElements.php index f30d0a2a..288f1ac3 100755 --- a/lib/MForm/MFormElements.php +++ b/lib/MForm/MFormElements.php @@ -185,7 +185,7 @@ public function addForm($form = null, $parse = true): self * @param array|null $attributes * @author Joachim Doerr */ - public function addFieldsetArea(?string $legend = '', $form = null, array $attributes = [], $parse = true): self + public function addFieldsetArea(?string $legend = null, $form = null, array $attributes = [], $parse = true): self { return $this->addElement('fieldset', null, null, array_merge(['legend' => $legend], $attributes)) ->addForm($form, $parse)