Update form builder parameter in SearchController

Changed the first argument in the `createNamedBuilder` method from `null` to an empty string. This adjustment ensures the form factory correctly creates the builder in the SearchController.
This commit is contained in:
Julien Fastré 2024-05-28 15:58:17 +02:00
parent 785c01d42d
commit 60c7ea601c
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -211,7 +211,7 @@ class SearchController extends AbstractController
$builder = $this
->get('form.factory')
->createNamedBuilder(
null,
'',
FormType::class,
$data,
['method' => Request::METHOD_POST]