Skip to content
This repository was archived by the owner on Jul 28, 2022. It is now read-only.

Commit 7530b83

Browse files
committed
There is no variable $sort
1 parent c58a507 commit 7530b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/GitHub/API/User/Repo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function all($username = null, $repoType = self::REPO_TYPE_ALL, $page = 1
4141
if (false === in_array($repoType, $this->allowedRepoTypes))
4242
throw new ApiException("Unsupported $repoType option. Available types are " . join(", ", $this->allowedRepoTypes));
4343

44-
$params = array_merge(array('type' => $repoType), $sort, $this->buildPageParams($page, $pageSize));
44+
$params = array_merge(array('type' => $repoType), $this->buildPageParams($page, $pageSize));
4545

4646
if (is_null($username))
4747
$url = 'user/repos';

0 commit comments

Comments
 (0)