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.
TranslationContainerInterface::getTranslationMessages()
has a return type annotation ofarray<Message>
, howeverMessage
is not imported. As a result, it refers to the non-existant FQCNJMS\TranslationBundle\Translation\Message
instead ofJMS\TranslationBundle\Translation\Model\Message
.