1212namespace Bitbucket \API \Repositories \Issues ;
1313
1414use Bitbucket \API ;
15+ use Buzz \Message \MessageInterface ;
1516
1617/**
1718 * @author Alexandru G. <alex@gentle.ro>
@@ -24,10 +25,10 @@ class Comments extends API\Api
2425 * Comments are returned in DESC order by posted date.
2526 *
2627 * @access public
27- * @param string $account The team or individual account owning the repository.
28- * @param string $repo The repository identifier.
29- * @param int $issueID The issue identifier.
30- * @return mixed
28+ * @param string $account The team or individual account owning the repository.
29+ * @param string $repo The repository identifier.
30+ * @param int $issueID The issue identifier.
31+ * @return MessageInterface
3132 */
3233 public function all ($ account , $ repo , $ issueID )
3334 {
@@ -40,11 +41,11 @@ public function all($account, $repo, $issueID)
4041 * Get an individual comment for specified issue
4142 *
4243 * @access public
43- * @param string $account The team or individual account owning the repository.
44- * @param string $repo The repository identifier.
45- * @param int $issueID The issue identifier.
46- * @param int $commentID The comment identifier.
47- * @return mixed
44+ * @param string $account The team or individual account owning the repository.
45+ * @param string $repo The repository identifier.
46+ * @param int $issueID The issue identifier.
47+ * @param int $commentID The comment identifier.
48+ * @return MessageInterface
4849 */
4950 public function get ($ account , $ repo , $ issueID , $ commentID )
5051 {
@@ -57,11 +58,11 @@ public function get($account, $repo, $issueID, $commentID)
5758 * Add a new comment to specified issue
5859 *
5960 * @access public
60- * @param string $account The team or individual account owning the repository.
61- * @param string $repo The repository identifier.
62- * @param int $issueID The issue identifier.
63- * @param string $content The comment.
64- * @return mixed
61+ * @param string $account The team or individual account owning the repository.
62+ * @param string $repo The repository identifier.
63+ * @param int $issueID The issue identifier.
64+ * @param string $content The comment.
65+ * @return MessageInterface
6566 */
6667 public function create ($ account , $ repo , $ issueID , $ content )
6768 {
@@ -75,12 +76,12 @@ public function create($account, $repo, $issueID, $content)
7576 * Update an existing comment to specified issue
7677 *
7778 * @access public
78- * @param string $account The team or individual account owning the repository.
79- * @param string $repo The repository identifier.
80- * @param int $issueID The issue identifier.
81- * @param string $content The comment.
82- * @param int $commentID The comment identifier.
83- * @return mixed
79+ * @param string $account The team or individual account owning the repository.
80+ * @param string $repo The repository identifier.
81+ * @param int $issueID The issue identifier.
82+ * @param string $content The comment.
83+ * @param int $commentID The comment identifier.
84+ * @return MessageInterface
8485 */
8586 public function update ($ account , $ repo , $ issueID , $ commentID , $ content )
8687 {
0 commit comments