Skip to content

Typo #692

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

Merged
merged 1 commit into from
Mar 11, 2018
Merged

Typo #692

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/currentuser/memberships.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Wraps [GitHub Issue Comments API](https://developer.github.com/v3/orgs/members/#
> Requires [authentication](../security.md).

```php
$memberships = $client->user()->memberships()->all();
$memberships = $client->currentUser()->memberships()->all();
```

Returns an array of your memberships in all organizations you are part of.
Expand All @@ -18,7 +18,7 @@ Returns an array of your memberships in all organizations you are part of.
> Requires [authentication](../security.md).

```php
$membership = $client->user()->memberships()->organization('KnpLabs');
$membership = $client->currentUser()->memberships()->organization('KnpLabs');
```
* `KnpLabs` : the organization

Expand All @@ -29,7 +29,7 @@ Returns an array of one membership in a specific organization.
> Requires [authentication](../security.md).

```php
$membership = $client->user()->memberships()->edit('KnpLabs');
$membership = $client->currentUser()->memberships()->edit('KnpLabs');
```
* `KnpLabs` : the organization

Expand Down