From cb44df475e70c35f1e46a2f704d5deeca6e10629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Wach?= Date: Wed, 13 Jul 2016 23:21:08 +0200 Subject: [PATCH] - remove usage of non existent CommentInterface in CardCommentEvent since the Client uses raw texts as comments instead of objects --- lib/Trello/Event/CardCommentEvent.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/Trello/Event/CardCommentEvent.php b/lib/Trello/Event/CardCommentEvent.php index a26bc69..c10de75 100644 --- a/lib/Trello/Event/CardCommentEvent.php +++ b/lib/Trello/Event/CardCommentEvent.php @@ -2,29 +2,27 @@ namespace Trello\Event; -use Trello\Model\CommentInterface; - class CardCommentEvent extends CardEvent { /** - * @var CommentInterface + * @var string */ protected $comment; /** * Set comment * - * @param CommentInterface $comment + * @param string $text */ - public function setComment(CommentInterface $comment) + public function setComment($text) { - $this->comment = $comment; + $this->comment = $text; } /** * Get comment * - * @return CommentInterface + * @return string */ public function getComment() {