Skip to content

Commit 43cd607

Browse files
authored
Update Projects.php
fork default value
1 parent faf18f4 commit 43cd607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public function removeLabel($project_id, $name)
499499
* @param array $params
500500
* @return mixed
501501
*/
502-
public function fork($project_id, array $params)
502+
public function fork($project_id, array $params = array())
503503
{
504504
return $this->post('projects/'.$this->encodePath($project_id).'/fork', $params);
505505
}

0 commit comments

Comments
 (0)