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.
1 parent 8f1454d commit 9682c45Copy full SHA for 9682c45
lib/Gitlab/Api/Projects.php
@@ -502,14 +502,10 @@ public function removeLabel($project_id, $name)
502
* )
503
* @return mixed
504
*/
505
- public function fork($project_id, array $params = array())
+ public function fork($project_id, array $parameters = array())
506
{
507
$resolver = $this->createOptionsResolver();
508
- $resolver->setDefined('namespace');
509
-
510
- $resolved = $resolver->resolve($params);
511
512
- return $this->post($this->getProjectPath($project_id, 'fork'), $resolved);
+ return $this->post($this->getProjectPath($project_id, 'fork'), $resolver->resolve($parameters));
513
}
514
515
/**
0 commit comments