Skip to content

Commit 0fa7752

Browse files
carsonreinkem1guelpf
authored andcommitted
Model Group projects should return Projects
This looks like a typo
1 parent e08cd0f commit 0fa7752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Gitlab/Model/Group.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ public function removeMember($user_id)
127127
}
128128

129129
/**
130-
* @return Group
130+
* @return Project[]
131131
*/
132132
public function projects()
133133
{
134134
$data = $this->client->groups()->projects($this->id);
135135

136-
return Group::fromArray($this->getClient(), $data);
136+
return Project::fromArray($this->getClient(), $data);
137137
}
138138

139139
/**

0 commit comments

Comments
 (0)