Skip to content

Commit

Permalink
Merge pull request #244 from KyleWiering/Issue-242
Browse files Browse the repository at this point in the history
#242 Gitlab/Model/MergeRequest methods fails on incorrect id usage
  • Loading branch information
fbourigault committed Sep 11, 2017
2 parents bf8fc46 + 41bc13f commit 699985c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Gitlab/Model/MergeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ public static function fromArray(Client $client, Project $project, array $data)

/**
* @param Project $project
* @param int $id
* @param int $iid
* @param Client $client
*/
public function __construct(Project $project, $id = null, Client $client = null)
public function __construct(Project $project, $iid = null, Client $client = null)
{
$this->setClient($client);
$this->setData('project', $project);
$this->setData('id', $id);
$this->setData('iid', $iid);
}

/**
Expand Down

0 comments on commit 699985c

Please sign in to comment.