@@ 63-91 (lines=29) @@ | ||
60 | * |
|
61 | * @SuppressWarnings(PHPMD.ExcessiveParameterList) |
|
62 | */ |
|
63 | public function __construct( |
|
64 | GithubIssueId $id, |
|
65 | GithubRepo $repo, |
|
66 | $number, |
|
67 | GithubIssueState $state, |
|
68 | $title, |
|
69 | $body, |
|
70 | GithubUser $createdByUser, |
|
71 | GithubUser $assignedToUser = null, |
|
72 | GithubMilestone $milestone = null, |
|
73 | $commentCount, |
|
74 | DateTime $githubCreatedAt, |
|
75 | DateTime $githubUpdatedAt, |
|
76 | DateTime $githubClosedAt = null |
|
77 | ) { |
|
78 | $this->id = $id; |
|
79 | $this->repo = $repo; |
|
80 | $this->number = $number; |
|
81 | $this->state = $state; |
|
82 | $this->title = $title; |
|
83 | $this->body = $body; |
|
84 | $this->createdByUser = $createdByUser; |
|
85 | $this->assignedToUser = $assignedToUser; |
|
86 | $this->milestone = $milestone; |
|
87 | $this->commentCount = $commentCount; |
|
88 | $this->githubCreatedAt = $githubCreatedAt; |
|
89 | $this->githubUpdatedAt = $githubUpdatedAt; |
|
90 | $this->githubClosedAt = $githubClosedAt; |
|
91 | } |
|
92 | ||
93 | /** |
|
94 | * @return GithubIssueId |
@@ 61-89 (lines=29) @@ | ||
58 | * |
|
59 | * @SuppressWarnings(PHPMD.ExcessiveParameterList) |
|
60 | */ |
|
61 | public function __construct( |
|
62 | GithubMilestoneId $id, |
|
63 | GithubRepo $repo, |
|
64 | $number, |
|
65 | GithubMilestoneState $state, |
|
66 | $title, |
|
67 | $description, |
|
68 | GithubUser $createdByUser, |
|
69 | $openIssueCount, |
|
70 | $closedIssueCount, |
|
71 | DateTime $dueDate = null, |
|
72 | DateTime $githubCreatedAt, |
|
73 | DateTime $githubUpdatedAt, |
|
74 | DateTime $githubClosedAt = null |
|
75 | ) { |
|
76 | $this->id = $id; |
|
77 | $this->repo = $repo; |
|
78 | $this->number = $number; |
|
79 | $this->state = $state; |
|
80 | $this->title = $title; |
|
81 | $this->description = $description; |
|
82 | $this->createdByUser = $createdByUser; |
|
83 | $this->openIssueCount = $openIssueCount; |
|
84 | $this->closedIssueCount = $closedIssueCount; |
|
85 | $this->dueDate = $dueDate; |
|
86 | $this->githubCreatedAt = $githubCreatedAt; |
|
87 | $this->githubUpdatedAt = $githubUpdatedAt; |
|
88 | $this->githubClosedAt = $githubClosedAt; |
|
89 | } |
|
90 | ||
91 | /** |
|
92 | * @return GithubMilestoneId |