Skip to content

Commit 48ada3b

Browse files
committed
[DOCS] Fixed wrong class name in examples/repositories/commits
$commits = new Bitbucket\API\Repositories\Commits(); instead of $commits = new Bitbucket\API\Repositories\PullRequests(); Fixes #35
1 parent 1b7baed commit 48ada3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/repositories/commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Retrieve and compare information about commits.
1111
### Prepare:
1212

1313
```php
14-
$commits = new Bitbucket\API\Repositories\PullRequests();
14+
$commits = new Bitbucket\API\Repositories\Commits();
1515
$commits->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );
1616
```
1717

0 commit comments

Comments
 (0)