public switchPullRequestBase ( integer $prNumber, string $newBase, string $newHead, boolean $forceNewPr = false ) : array | ||
$prNumber | integer | |
$newBase | string | New base for the PR |
$newHead | string | org:branch |
$forceNewPr | boolean | Open new PR (even when switching is supported) |
return | array | An array with the following keys: html_url, number (either the current or the new PR) |