schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

Invalid type annotation for the return value of getTranslationMessages() #508

Closed arnaud-lb closed 5 years ago

arnaud-lb commented 5 years ago
Q A
Bundle version master

TranslationContainerInterface::getTranslationMessages() has a return type annotation of array<Message>, however Message is not imported. As a result, it refers to the non-existant FQCN JMS\TranslationBundle\Translation\Message instead of JMS\TranslationBundle\Translation\Model\Message.