Description
When using the translator service with a non default domain (e.g. "validators"), the autocompletion works when the domain is passed as the third argument but not when using PHP8 named arguments.
this->translator->trans('app.existing_translation', domain: 'validators') // Warning: "Symfony: Missing translation key"
In a global way, supporting autcompletion and navigation when using PHP named arguments would be a nice feature (as you started to support it for Symfony constraints classes).
Description
When using the translator service with a non default domain (e.g. "validators"), the autocompletion works when the domain is passed as the third argument but not when using PHP8 named arguments.
In a global way, supporting autcompletion and navigation when using PHP named arguments would be a nice feature (as you started to support it for Symfony constraints classes).