Skip to content

Commit cad9eb8

Browse files
Reverted model group id changes
1 parent 14e003d commit cad9eb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Gitlab/Model/Project.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ public function removeSnippet($id)
11441144
}
11451145

11461146
/**
1147-
* @param int|string $group_id
1147+
* @param int $group_id
11481148
*
11491149
* @return Group
11501150
*/

lib/Gitlab/Model/User.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function removeKey($id)
215215
}
216216

217217
/**
218-
* @param int|string $group_id
218+
* @param int $group_id
219219
* @param int $access_level
220220
*
221221
* @return User
@@ -228,7 +228,7 @@ public function addToGroup($group_id, $access_level)
228228
}
229229

230230
/**
231-
* @param int|string $group_id
231+
* @param int $group_id
232232
*
233233
* @return bool
234234
*/

0 commit comments

Comments
 (0)