JGithubPulls::edit
Method to update a pull request.
Signature
public function edit(string
$user,
[string
$repo = null,
[integer
$pullId = null,
[string
$title = null,
[string
$body = null,
[string
$state = null]]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$pullId
- The pull request number.
-
$title
- The optional new title for the pull request.
-
$body
- The optional new body text for the pull request.
-
$state
- The optional new state for the pull request. [open, closed]
Returns