mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
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:
@@ -288,7 +288,7 @@ class ExportController extends AbstractController
|
||||
|
||||
$builder = $this->formFactory
|
||||
->createNamedBuilder(
|
||||
null,
|
||||
'',
|
||||
FormType::class,
|
||||
$defaultFormData,
|
||||
[
|
||||
|
Reference in New Issue
Block a user