We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f23e88e + 8f562d5 commit 5eef62cCopy full SHA for 5eef62c
lib/Gitlab/Api/Repositories.php
@@ -8,9 +8,10 @@ class Repositories extends AbstractApi
8
* @param int $project_id
9
* @return mixed
10
*/
11
- public function branches($project_id)
+ public function branches($project_id, array $parameters = [])
12
{
13
- return $this->get($this->getProjectPath($project_id, 'repository/branches'));
+ $resolver = $this->createOptionsResolver();
14
+ return $this->get($this->getProjectPath($project_id, 'repository/branches'), $resolver->resolve($parameters));
15
}
16
17
/**
0 commit comments