Skip to content

Commit

Permalink
Merge pull request #485 from GrahamCampbell/patch-1
Browse files Browse the repository at this point in the history
Fixed method docs and routing to organization projects
  • Loading branch information
cursedcoder authored Dec 13, 2016
2 parents fefc8cc + d78b022 commit a86aa7a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Github/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
* @method Api\Notification notifications()
* @method Api\Organization organization()
* @method Api\Organization organizations()
* @method Api\Organization\Projects orgProject()
* @method Api\Organization\Projects orgProjects()
* @method Api\Organization\Projects organizationProject()
* @method Api\Organization\Projects organizationProjects()
* @method Api\PullRequest pr()
* @method Api\PullRequest pullRequest()
* @method Api\PullRequest pullRequests()
Expand Down Expand Up @@ -205,9 +209,13 @@ public function api($name)
$api = new Api\Organization($this);
break;
case 'org_project':
case 'orgProject':
case 'org_projects':
case 'orgProjects':
case 'organization_project':
case 'organizationProject':
case 'organization_projects':
case 'organizationProjects':
$api = new Api\Organization\Projects($this);
break;

Expand Down

0 comments on commit a86aa7a

Please sign in to comment.