Skip to content

Commit a530762

Browse files
committed
docblock & cs fix in Issues::Components
1 parent ef40000 commit a530762

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

lib/Bitbucket/API/Repositories/Issues/Components.php

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Bitbucket\API\Repositories\Issues;
1313

1414
use Bitbucket\API;
15+
use Buzz\Message\MessageInterface;
1516

1617
/**
1718
* @author Alexandru G. <alex@gentle.ro>
@@ -22,9 +23,9 @@ class Components extends API\Api
2223
* Get all components defined on a issue tracker
2324
*
2425
* @access public
25-
* @param string $account The team or individual account owning the repository.
26-
* @param string $repo The repository identifier.
27-
* @return mixed
26+
* @param string $account The team or individual account owning the repository.
27+
* @param string $repo The repository identifier.
28+
* @return MessageInterface
2829
*/
2930
public function all($account, $repo)
3031
{
@@ -37,10 +38,10 @@ public function all($account, $repo)
3738
* Get an individual component
3839
*
3940
* @access public
40-
* @param string $account The team or individual account owning the repository.
41-
* @param string $repo The repository identifier.
42-
* @param int $componentID The component identifier.
43-
* @return mixed
41+
* @param string $account The team or individual account owning the repository.
42+
* @param string $repo The repository identifier.
43+
* @param int $componentID The component identifier.
44+
* @return MessageInterface
4445
*/
4546
public function get($account, $repo, $componentID)
4647
{
@@ -53,10 +54,10 @@ public function get($account, $repo, $componentID)
5354
* Add a new component
5455
*
5556
* @access public
56-
* @param string $account The team or individual account owning the repository.
57-
* @param string $repo The repository identifier.
58-
* @param string $name The component name to create.
59-
* @return mixed
57+
* @param string $account The team or individual account owning the repository.
58+
* @param string $repo The repository identifier.
59+
* @param string $name The component name to create.
60+
* @return MessageInterface
6061
*/
6162
public function create($account, $repo, $name)
6263
{
@@ -70,11 +71,11 @@ public function create($account, $repo, $name)
7071
* Update an existing component
7172
*
7273
* @access public
73-
* @param string $account The team or individual account owning the repository.
74-
* @param string $repo The repository identifier.
75-
* @param int $componentID The component identifier.
76-
* @param string $name The component name to update.
77-
* @return mixed
74+
* @param string $account The team or individual account owning the repository.
75+
* @param string $repo The repository identifier.
76+
* @param int $componentID The component identifier.
77+
* @param string $name The component name to update.
78+
* @return MessageInterface
7879
*/
7980
public function update($account, $repo, $componentID, $name)
8081
{
@@ -88,10 +89,10 @@ public function update($account, $repo, $componentID, $name)
8889
* Delete an existing component
8990
*
9091
* @access public
91-
* @param string $account The team or individual account owning the repository.
92-
* @param string $repo The repository identifier.
93-
* @param int $componentID The component identifier.
94-
* @return mixed
92+
* @param string $account The team or individual account owning the repository.
93+
* @param string $repo The repository identifier.
94+
* @param int $componentID The component identifier.
95+
* @return MessageInterface
9596
*/
9697
public function delete($account, $repo, $componentID)
9798
{

0 commit comments

Comments
 (0)