The PHPDoc type hint in BaseEmailInterface::attach() method is incorrectly formatted as Drupal\symfony_mailer\AttachmentInterface instead of the proper fully qualified class name format \Drupal\symfony_mailer\AttachmentInterface.
This missing leading backslash can cause issues with IDE autocompletion, static analysis tools, and code documentation generators that expect proper namespace formatting.
Notice the type hint @param Drupal\symfony_mailer\AttachmentInterface $attachment is missing the leading backslash.
Add the missing leading backslash to the PHPDoc type hint to make it a proper fully qualified class name: @param \Drupal\symfony_mailer\AttachmentInterface $attachment.
None.
None.
None.
Needs review
1.6
Code