idea-php-symfony2-plugin icon indicating copy to clipboard operation
idea-php-symfony2-plugin copied to clipboard

[Form] Autocompletion using named parameters

Open SVillette opened this issue 2 years ago • 0 comments

Description

In a controller, when a form is created with createForm method, the autocompletion of the form options is triggered when using the third parameter of this method

$form = $this->createForm(FooBarType::class, null, ['method' => 'GET']); // "method" option was suggested with autocompletion

But when using named parameters, the autocompletion is not triggered.

$form = $this->createForm(FooBarType::class, options: ['method' => 'GET']); // Autocompletion does not work

SVillette avatar Sep 21 '22 10:09 SVillette