FriendsOfSymfony/FOSCommentBundle — Issue #136: problem: Fatal error: Declaration of Comment::setThread() must be compatible with that of FOS\CommentBundle\Model\CommentInterface::setThread()
Author: inmarelibero
Created: 2012-02-12 12:11:57+00:00
State: open

Hi, I've just installed the bundle and I got stuck at step 2a.

When i try to generate the entities of my bundle, console gives me:

Fatal error: Declaration of MyProject\MyBundle\Entity\Comment::setThread() must be compatible
with that of FOS\CommentBundle\Model\CommentInterface::setThread()
in [...]/MyProject/MyBundle/Entity/Comment.php on line 12

I didn't manage to figure out the problem, anyone had the same problem?
good job, cheers!