Skip to content

Commit d78b022

Browse files
Fixed method docs and routing to organization projects
1 parent 0bce4dc commit d78b022

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Github/Client.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
* @method Api\Notification notifications()
3535
* @method Api\Organization organization()
3636
* @method Api\Organization organizations()
37+
* @method Api\Organization\Projects orgProject()
38+
* @method Api\Organization\Projects orgProjects()
39+
* @method Api\Organization\Projects organizationProject()
40+
* @method Api\Organization\Projects organizationProjects()
3741
* @method Api\PullRequest pr()
3842
* @method Api\PullRequest pullRequest()
3943
* @method Api\PullRequest pullRequests()
@@ -206,9 +210,13 @@ public function api($name)
206210
$api = new Api\Organization($this);
207211
break;
208212
case 'org_project':
213+
case 'orgProject':
209214
case 'org_projects':
215+
case 'orgProjects':
210216
case 'organization_project':
217+
case 'organizationProject':
211218
case 'organization_projects':
219+
case 'organizationProjects':
212220
$api = new Api\Organization\Projects($this);
213221
break;
214222

0 commit comments

Comments
 (0)