Skip to content

Commit

Permalink
API Make parameter non-optional for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 1, 2024
1 parent 6699db2 commit 1ca75a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Forms/EditFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down

0 comments on commit 1ca75a7

Please sign in to comment.