From 628a74914f7d61451ef5fe4ba696f3fad6e65374 Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Mon, 22 Aug 2022 13:17:55 +0200 Subject: [PATCH 1/3] PHPDoc: fix return type in `Assignees::remove()` --- lib/Github/Api/Issue/Assignees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Github/Api/Issue/Assignees.php b/lib/Github/Api/Issue/Assignees.php index 8ae86d1cd99..0a91fb84796 100644 --- a/lib/Github/Api/Issue/Assignees.php +++ b/lib/Github/Api/Issue/Assignees.php @@ -78,7 +78,7 @@ public function add($username, $repository, $issue, array $parameters) * * @throws MissingArgumentException * - * @return string + * @return array */ public function remove($username, $repository, $issue, array $parameters) { From 3d40ebb3b42f15c3b521a595d1a0855bf3b7b760 Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Mon, 22 Aug 2022 13:22:08 +0200 Subject: [PATCH 2/3] PHPDoc: fix return type in `Assignees::add()` --- lib/Github/Api/Issue/Assignees.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Github/Api/Issue/Assignees.php b/lib/Github/Api/Issue/Assignees.php index 0a91fb84796..46435650823 100644 --- a/lib/Github/Api/Issue/Assignees.php +++ b/lib/Github/Api/Issue/Assignees.php @@ -51,7 +51,7 @@ public function check($username, $repository, $assignee) * @throws InvalidArgumentException * @throws MissingArgumentException * - * @return string + * @return array */ public function add($username, $repository, $issue, array $parameters) { From a8747acb0974807e7ea6920b141a02460a25d1ee Mon Sep 17 00:00:00 2001 From: Robert Korulczyk Date: Mon, 22 Aug 2022 13:23:16 +0200 Subject: [PATCH 3/3] PHPDoc: fix return type in `ReviewRequest::remove()` --- lib/Github/Api/PullRequest/ReviewRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Github/Api/PullRequest/ReviewRequest.php b/lib/Github/Api/PullRequest/ReviewRequest.php index 7d77f3e5fd6..e9b9280a119 100644 --- a/lib/Github/Api/PullRequest/ReviewRequest.php +++ b/lib/Github/Api/PullRequest/ReviewRequest.php @@ -63,7 +63,7 @@ public function create($username, $repository, $pullRequest, array $reviewers = * @param array $reviewers * @param array $teamReviewers * - * @return string + * @return array */ public function remove($username, $repository, $pullRequest, array $reviewers = [], array $teamReviewers = []) {