Skip to content

Commit e1c8cb9

Browse files
authored
minor KnpLabs#1078 Fix return types in phpdoc for Assignees and ReviewRequest (rob006)
This PR was squashed before being merged into the 3.9.x-dev branch. Discussion ---------- Commits ------- 628a749 PHPDoc: fix return type in `Assignees::remove()` 3d40ebb PHPDoc: fix return type in `Assignees::add()` a8747ac PHPDoc: fix return type in `ReviewRequest::remove()`
1 parent 6b3c7ea commit e1c8cb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Github/Api/Issue/Assignees.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function check($username, $repository, $assignee)
5151
* @throws InvalidArgumentException
5252
* @throws MissingArgumentException
5353
*
54-
* @return string
54+
* @return array
5555
*/
5656
public function add($username, $repository, $issue, array $parameters)
5757
{
@@ -78,7 +78,7 @@ public function add($username, $repository, $issue, array $parameters)
7878
*
7979
* @throws MissingArgumentException
8080
*
81-
* @return string
81+
* @return array
8282
*/
8383
public function remove($username, $repository, $issue, array $parameters)
8484
{

lib/Github/Api/PullRequest/ReviewRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function create($username, $repository, $pullRequest, array $reviewers =
6363
* @param array $reviewers
6464
* @param array $teamReviewers
6565
*
66-
* @return string
66+
* @return array
6767
*/
6868
public function remove($username, $repository, $pullRequest, array $reviewers = [], array $teamReviewers = [])
6969
{

0 commit comments

Comments
 (0)