JGithubMilestones::edit
Method to update a milestone.
Signature
public function edit(string
$user,
[string
$repo = null,
[integer
$milestoneId = null,
[integer
$title = null,
[string
$state = null,
[string
$description = null,
[string
$due_on = null]]]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$milestoneId
- The id of the comment to update.
-
$title
- Optional title of the milestone.
-
$state
- Can be open (default) or closed.
-
$description
- Optional description for milestone.
-
$due_on
- Optional ISO 8601 time.
Returns