Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation fix #324

Merged
merged 1 commit into from
Oct 11, 2015
Merged

Documentation fix #324

merged 1 commit into from
Oct 11, 2015

Conversation

ldusan84
Copy link
Contributor

@ldusan84 ldusan84 commented Oct 9, 2015

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
Copy link
Contributor

xabbuh commented Oct 10, 2015

👍 (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