1212namespace Bitbucket \API \Repositories \Issues ;
1313
1414use Bitbucket \API ;
15+ use Buzz \Message \MessageInterface ;
1516
1617/**
1718 * @author Alexandru G. <alex@gentle.ro>
@@ -24,9 +25,9 @@ class Versions extends API\Api
2425 * Get a list of versions associated with the issue tracker
2526 *
2627 * @access public
27- * @param string $account The team or individual account owning the repository.
28- * @param string $repo The repository identifier.
29- * @return mixed
28+ * @param string $account The team or individual account owning the repository.
29+ * @param string $repo The repository identifier.
30+ * @return MessageInterface
3031 */
3132 public function all ($ account , $ repo )
3233 {
@@ -39,10 +40,10 @@ public function all($account, $repo)
3940 * Get an individual version
4041 *
4142 * @access public
42- * @param string $account The team or individual account owning the repository.
43- * @param string $repo The repository identifier.
44- * @param int $versionID The version identifier.
45- * @return mixed
43+ * @param string $account The team or individual account owning the repository.
44+ * @param string $repo The repository identifier.
45+ * @param int $versionID The version identifier.
46+ * @return MessageInterface
4647 */
4748 public function get ($ account , $ repo , $ versionID )
4849 {
@@ -55,10 +56,10 @@ public function get($account, $repo, $versionID)
5556 * Add a new version
5657 *
5758 * @access public
58- * @param string $account The team or individual account owning the repository.
59- * @param string $repo The repository identifier.
60- * @param string $name The version name to create.
61- * @return mixed
59+ * @param string $account The team or individual account owning the repository.
60+ * @param string $repo The repository identifier.
61+ * @param string $name The version name to create.
62+ * @return MessageInterface
6263 */
6364 public function create ($ account , $ repo , $ name )
6465 {
@@ -72,11 +73,11 @@ public function create($account, $repo, $name)
7273 * Update an existing version
7374 *
7475 * @access public
75- * @param string $account The team or individual account owning the repository.
76- * @param string $repo The repository identifier.
77- * @param int $versionID The version identifier.
78- * @param string $name The version name to update.
79- * @return mixed
76+ * @param string $account The team or individual account owning the repository.
77+ * @param string $repo The repository identifier.
78+ * @param int $versionID The version identifier.
79+ * @param string $name The version name to update.
80+ * @return MessageInterface
8081 */
8182 public function update ($ account , $ repo , $ versionID , $ name )
8283 {
@@ -90,10 +91,10 @@ public function update($account, $repo, $versionID, $name)
9091 * Delete an existing version
9192 *
9293 * @access public
93- * @param string $account The team or individual account owning the repository.
94- * @param string $repo The repository identifier.
95- * @param int $versionID The version identifier.
96- * @return mixed
94+ * @param string $account The team or individual account owning the repository.
95+ * @param string $repo The repository identifier.
96+ * @param int $versionID The version identifier.
97+ * @return MessageInterface
9798 */
9899 public function delete ($ account , $ repo , $ versionID )
99100 {
0 commit comments