JGithubPulls::getCommits
Method to get a list of commits for a pull request.
Signature
public function getCommits(string
$user,
[string
$repo = 0,
[integer
$pullId = 0,
[integer
$page = 0,
[integer
$limit = 0]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$pullId
- The pull request number.
-
$page
- The page number from which to get items.
-
$limit
- The number of items on a page.
Returns
- array