Skip to content

Commit 83e3683

Browse files
committed
Fix "update milestone" documentation
1 parent 99c6b87 commit 83e3683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/issue/milestones.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $milestone = $client->api('issue')->milestones()->create('KnpLabs', 'php-github-
2424
### Update a milestone
2525

2626
```php
27-
$milestone = $client->api('issue')->milestones()->update('KnpLabs', 'php-github-api', 123);
27+
$milestone = $client->api('issue')->milestones()->update('KnpLabs', 'php-github-api', 123, array('title' => '3.0'));
2828
```
2929

3030
### Remove a milestonre

0 commit comments

Comments
 (0)