diff --git a/lib/Github/Client.php b/lib/Github/Client.php index 9ead7faf2b6..9b215aa00a4 100644 --- a/lib/Github/Client.php +++ b/lib/Github/Client.php @@ -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() @@ -206,9 +210,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;