Skip to content

Commit 8a11504

Browse files
committed
Merge pull request GitLabPHP#122 from Intracto/master
added group visibility level
2 parents 73f09fc + d60f891 commit 8a11504

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Gitlab/Api/Groups.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ public function show($id)
4444
* @param string $description
4545
* @return mixed
4646
*/
47-
public function create($name, $path, $description = null)
47+
public function create($name, $path, $description = null, $visibility_level = 0)
4848
{
4949
return $this->post('groups', array(
5050
'name' => $name,
5151
'path' => $path,
52-
'description' => $description
52+
'description' => $description,
53+
'visibility_level' => $visibility_level
5354
));
5455
}
5556

0 commit comments

Comments
 (0)