Skip to content

Commit

Permalink
minor #1078 Fix return types in phpdoc for Assignees and `ReviewReq…
Browse files Browse the repository at this point in the history
…uest` (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()`
  • Loading branch information
rob006 authored Aug 26, 2022
1 parent 6b3c7ea commit e1c8cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Github/Api/Issue/Assignees.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Github/Api/PullRequest/ReviewRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [])
{
Expand Down

0 comments on commit e1c8cb9

Please sign in to comment.