* Change the type hint for return.

This commit is contained in:
dingguodong
2024-05-06 15:31:27 +08:00
parent 198385303a
commit 5e8187bb2f
+2 -2
View File
@@ -197,9 +197,9 @@ class gitfoxModel extends model
*
* @param mixed $gitfoxID
* @param mixed $repoID
* @return object
* @return object|array|null
*/
public function apiGetMergeRequests(int $gitfoxID, int $repoID): object|null
public function apiGetMergeRequests(int $gitfoxID, int $repoID): object|array|null
{
$apiRoot = $this->getApiRoot($gitfoxID, false);
$apiPath = "/repos/{$repoID}/pullreq";