We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331d3a4 commit d50da9cCopy full SHA for d50da9c
lib/Gitlab/Model/Event.php
@@ -20,17 +20,16 @@ class Event extends AbstractModel
20
21
public static function fromArray(Client $client, Project $project, array $data)
22
{
23
- $event = new Event($project, $data['id'], $client);
+ $event = new Event($project, $client);
24
25
return $event->hydrate($data);
26
}
27
28
- public function __construct(Project $project, $id = null, Client $client = null)
+ public function __construct(Project $project, Client $client = null)
29
30
$this->setClient($client);
31
32
$this->project = $project;
33
- $this->id = $id;
34
35
36
0 commit comments