From 09149c710b5f342a438ef967962e348a9664913b Mon Sep 17 00:00:00 2001 From: Corentin REGNIER Date: Mon, 8 Aug 2016 15:05:12 +0200 Subject: [PATCH] Update comment.md At line 55 : change create by update --- doc/issue/comments.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/issue/comments.md b/doc/issue/comments.md index 632bd3459b1..19c95ecedbe 100644 --- a/doc/issue/comments.md +++ b/doc/issue/comments.md @@ -52,7 +52,7 @@ $client->api('issue')->comments()->create('KnpLabs', 'php-github-api', 4, array( > Requires [authentication](../security.md). ```php -$client->api('issue')->comments()->create('KnpLabs', 'php-github-api', 33793831, array('body' => 'My updated comment')); +$client->api('issue')->comments()->update('KnpLabs', 'php-github-api', 33793831, array('body' => 'My updated comment')); ``` * `KnpLabs` : the owner of the repository