Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/pull_request/comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $comment = $client->api('pull_request')->comments()->create('KnpLabs', 'php-gith
'path' => 'README.markdown',
'position' => 37,
'line' => 31
);
));
```

This returns the details of the comment.
Expand All @@ -50,7 +50,7 @@ This returns the details of the comment.
$comment = $client->api('pull_request')->comments()->create('KnpLabs', 'php-github-api', 8, array(
'body' => 'Yeah! Really nice change',
'in_reply_to' => 2
);
));
```

This returns the details of the comment.
Expand All @@ -62,7 +62,7 @@ This returns the details of the comment.
```php
$comment = $client->api('pull_request')->comments()->update('KnpLabs', 'php-github-api', 2, array(
'body' => 'Hell Yeah! Awesome change!'
);
));
```

This returns the details of the updated comment.
Expand Down