Skip to content

Documentation fix#324

Merged
cursedcoder merged 1 commit into
KnpLabs:masterfrom
ldusan84:documentation-fix
Oct 11, 2015
Merged

Documentation fix#324
cursedcoder merged 1 commit into
KnpLabs:masterfrom
ldusan84:documentation-fix

Conversation

@ldusan84

@ldusan84 ldusan84 commented Oct 9, 2015

Copy link
Copy Markdown
Contributor

The example from documentation doesn't work:

$issues = $client->api('orgs')->issues('KnpLabs', 'php-github-api', array('state' => 'open'));

It should be:

$issues = $client->api('organizations')->issues('KnpLabs', 'php-github-api', array('state' => 'open'));

@xabbuh

xabbuh commented Oct 10, 2015

Copy link
Copy Markdown
Contributor

👍 (well, the client could also be changed here in case people think using orgs is more convenient than organizations).

cursedcoder added a commit that referenced this pull request Oct 11, 2015
@cursedcoder
cursedcoder merged commit 9ffaf25 into KnpLabs:master Oct 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants