Skip to content

Commit

Permalink
Make parameter required
Browse files Browse the repository at this point in the history
  • Loading branch information
DAGpro committed Oct 23, 2022
1 parent 06e6c9b commit 0de3d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Github/Api/Repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public function branches($username, $repository, $branch = null, array $paramete
*
* @return array|string
*/
public function mergeUpstream($username, $repository, $branchName = 'main')
public function mergeUpstream($username, $repository, $branchName)
{
return $this->post(
'/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/merge-upstream',
Expand Down

0 comments on commit 0de3d78

Please sign in to comment.