Skip to content

Commit f0c2179

Browse files
author
Tiago Brito
committed
Add missing parentheses
1 parent 2d33d76 commit f0c2179

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/pull_request/comments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $comment = $client->api('pull_request')->comments()->create('KnpLabs', 'php-gith
3737
'path' => 'README.markdown',
3838
'position' => 37,
3939
'line' => 31
40-
);
40+
));
4141
```
4242

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

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

6868
This returns the details of the updated comment.

0 commit comments

Comments
 (0)