Skip to content

Commit c0a48e2

Browse files
committed
Added documentation
1 parent 5727a43 commit c0a48e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/commits.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ $commit = $client->api('repo')->commits()->compare('KnpLabs', 'php-github-api',
3535
```
3636

3737
Returns an array of commits.
38+
39+
### List pull requests associated with a commit
40+
41+
```php
42+
$commit = $client->api('repo')->commits()->pulls('KnpLabs', 'php-github-api', '839e5185da9434753db47959bee16642bb4f2ce4');
43+
```
44+
45+
Returns an array of pull requests.

0 commit comments

Comments
 (0)