diff --git a/src/Forms/EditFormFactory.php b/src/Forms/EditFormFactory.php index 85bb883b..328ad7b7 100644 --- a/src/Forms/EditFormFactory.php +++ b/src/Forms/EditFormFactory.php @@ -44,7 +44,7 @@ public function getForm(?RequestHandler $controller = null, $name = EditFormFact return $form; } - protected function getFormFields(?RequestHandler $controller = null, $name, $context = []) + protected function getFormFields(?RequestHandler $controller, $name, $context = []) { $fields = parent::getFormFields($controller, $name, $context); @@ -58,7 +58,7 @@ protected function getFormFields(?RequestHandler $controller = null, $name, $con return $fields; } - protected function getFormValidator(?RequestHandler $controller = null, $name, $context = []) + protected function getFormValidator(?RequestHandler $controller, $name, $context = []) { /** @var CompositeValidator $compositeValidator */ $compositeValidator = parent::getFormValidator($controller, $name, $context);