Skip to content

Commit

Permalink
Revert "Update MFormElements.php"
Browse files Browse the repository at this point in the history
This reverts commit 07c1629.
  • Loading branch information
alxndr-w committed Dec 15, 2023
1 parent 07c1629 commit c4a7c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MForm/MFormElements.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4a7c19

Please sign in to comment.