src/PHPDish/Bundle/ForumBundle/Service/ReplyManager.php
public function createReply(TopicInterface $topic, UserInterface $user = null)
    {
        $reply = new $this->replyEntity;
        $reply->setTopic($topic)
            ->setCreatedAt(Carbon::now());
        $user && $reply->setUser($user);

        return $reply;
    }
public function createReply(TopicInterface $topic, UserInterface $user = null)
    {
        $reply = new $this->replyEntity;
        $reply->setTopic($topic)
            ->setCreatedAt(Carbon::now());
        $user && $reply->setUser($user);

        return $reply;
    }
{@inheritdoc}