-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected: 5.2.x
PHP version: 8.x
Description
When an attribute has a parameter named class before the class declaration, the script tries to load the content of that parameter.
...
#[ParamConverter(
'availability',
class: Table\Availability::class,
options: ['id' => 'ida']
)]
...
class EditController
{
...
How to reproduce
See issue https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/713 for more detail
Possible Solution
See here https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/713#issuecomment-780669307
Yoann-TYTderrabus