Remove nullable parameter from createNamedBuilder call

The call to createNamedBuilder in EventController.php and ExportController.php was originally passing null as a parameter. This was generating PHPStan warnings. This commit replaces null with an empty string to comply with the method's expected types.
This commit is contained in:
2024-04-10 12:43:25 +02:00
parent 0b40d807bc
commit 3df57c1569
2 changed files with 1 additions and 11 deletions

View File

@@ -288,7 +288,7 @@ class ExportController extends AbstractController
$builder = $this->formFactory
->createNamedBuilder(
null,
'',
FormType::class,
$defaultFormData,
[