Skip to content

Commit a86aa7a

Browse files
authored
Merge pull request #485 from GrahamCampbell/patch-1
Fixed method docs and routing to organization projects
2 parents fefc8cc + d78b022 commit a86aa7a

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()
@@ -205,9 +209,13 @@ public function api($name)
205209
$api = new Api\Organization($this);
206210
break;
207211
case 'org_project':
212+
case 'orgProject':
208213
case 'org_projects':
214+
case 'orgProjects':
209215
case 'organization_project':
216+
case 'organizationProject':
210217
case 'organization_projects':
218+
case 'organizationProjects':
211219
$api = new Api\Organization\Projects($this);
212220
break;
213221

0 commit comments

Comments
 (0)