Skip to content

Commit

Permalink
Merge pull request #827 from OskarStark/patch-2
Browse files Browse the repository at this point in the history
Using a string is deprecated
  • Loading branch information
acrobat committed Nov 4, 2019
2 parents d947eab + d180ab2 commit d281e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/issue/assignees.md
Expand Up @@ -18,11 +18,11 @@ $info = $client->api('issue')->assignees()->check('KnpLabs', 'php-github-api', '
### Add assignee

```php
$client->api('issue')->assignees()->add('KnpLabs', 'php-github-api', 4, ['assignees' => 'test-user']);
$client->api('issue')->assignees()->add('KnpLabs', 'php-github-api', 4, ['assignees' => ['test-user']]);
```

### Remove assignee

```php
$client->api('issue')->assignees()->remove('KnpLabs', 'php-github-api', 4, ['assignees' => 'test-user']);
$client->api('issue')->assignees()->remove('KnpLabs', 'php-github-api', 4, ['assignees' => ['test-user']]);
```

0 comments on commit d281e29

Please sign in to comment.