Skip to content

Commit d180ab2

Browse files
authored
Using a string is deprecated
1 parent d947eab commit d180ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/issue/assignees.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ $info = $client->api('issue')->assignees()->check('KnpLabs', 'php-github-api', '
1818
### Add assignee
1919

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

2424
### Remove assignee
2525

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

0 commit comments

Comments
 (0)