Skip to content

Commit 699985c

Browse files
authoredSep 11, 2017
Merge pull request #244 from KyleWiering/Issue-242
#242 Gitlab/Model/MergeRequest methods fails on incorrect id usage
2 parents bf8fc46 + 41bc13f commit 699985c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/Gitlab/Model/MergeRequest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ public static function fromArray(Client $client, Project $project, array $data)
9090

9191
/**
9292
* @param Project $project
93-
* @param int $id
93+
* @param int $iid
9494
* @param Client $client
9595
*/
96-
public function __construct(Project $project, $id = null, Client $client = null)
96+
public function __construct(Project $project, $iid = null, Client $client = null)
9797
{
9898
$this->setClient($client);
9999
$this->setData('project', $project);
100-
$this->setData('id', $id);
100+
$this->setData('iid', $iid);
101101
}
102102

103103
/**

0 commit comments

Comments
 (0)