Skip to content

Commit

Permalink
Using a string is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Nov 4, 2019
1 parent d947eab commit d180ab2
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 d180ab2

Please sign in to comment.