diff --git a/Classes/Integration/FormEngine/ColumnPositionNode.php b/Classes/Integration/FormEngine/ColumnPositionNode.php index a1b9a52bf..36f0fcada 100644 --- a/Classes/Integration/FormEngine/ColumnPositionNode.php +++ b/Classes/Integration/FormEngine/ColumnPositionNode.php @@ -17,7 +17,7 @@ class ColumnPositionNode extends AbstractNode implements NodeInterface { private array $parameters = []; - public function __construct(NodeFactory $nodeFactory, array $data) + public function __construct(NodeFactory $nodeFactory, array $data = []) { $this->parameters = $data; } diff --git a/Classes/Integration/FormEngine/ContentTypeValidatorNode.php b/Classes/Integration/FormEngine/ContentTypeValidatorNode.php index 9fffe9c36..9b73813d7 100644 --- a/Classes/Integration/FormEngine/ContentTypeValidatorNode.php +++ b/Classes/Integration/FormEngine/ContentTypeValidatorNode.php @@ -11,7 +11,7 @@ class ContentTypeValidatorNode extends AbstractNode implements NodeInterface { private array $parameters = []; - public function __construct(NodeFactory $nodeFactory, array $data) + public function __construct(NodeFactory $nodeFactory, array $data = []) { $this->parameters = $data; } diff --git a/Classes/Integration/FormEngine/HtmlOutputNode.php b/Classes/Integration/FormEngine/HtmlOutputNode.php index 62ba25208..c520e13af 100644 --- a/Classes/Integration/FormEngine/HtmlOutputNode.php +++ b/Classes/Integration/FormEngine/HtmlOutputNode.php @@ -17,7 +17,7 @@ class HtmlOutputNode extends AbstractNode implements NodeInterface { private array $parameters = []; - public function __construct(NodeFactory $nodeFactory, array $data) + public function __construct(NodeFactory $nodeFactory, array $data = []) { $this->parameters = $data; } diff --git a/Classes/Integration/FormEngine/TemplateSourceDumperNode.php b/Classes/Integration/FormEngine/TemplateSourceDumperNode.php index ec4199706..f37fc4c71 100644 --- a/Classes/Integration/FormEngine/TemplateSourceDumperNode.php +++ b/Classes/Integration/FormEngine/TemplateSourceDumperNode.php @@ -11,7 +11,7 @@ class TemplateSourceDumperNode extends AbstractNode implements NodeInterface { private array $parameters = []; - public function __construct(NodeFactory $nodeFactory, array $data) + public function __construct(NodeFactory $nodeFactory, array $data = []) { $this->parameters = $data; }