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 b690f59 commit e7dbac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/DataObjectVersionFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function isReadonlyFormType(array $context)
return in_array($this->getFormType($context), $this->config()->get('readonly_types') ?? []);
}

protected function getFormFields(?RequestHandler $controller = null, $name, $context = [])
protected function getFormFields(?RequestHandler $controller, $name, $context = [])
{
$record = $context['Record'];
/** @var FieldList $fields */
Expand Down

0 comments on commit e7dbac9

Please sign in to comment.