From c4a7c198feff8a09dea8efca562bf2b4edcef88e Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Fri, 15 Dec 2023 20:32:32 +0100 Subject: [PATCH] Revert "Update MFormElements.php" This reverts commit 07c1629217a6236fa2732bb5621751a1a57c8756. --- lib/MForm/MFormElements.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)