Skip to content

Commit 4463ae5

Browse files
committed
Add number to issue
1 parent 223b150 commit 4463ae5

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

src/Dto/Issue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public function __construct(
88
readonly ?string $id,
99
readonly string $title,
1010
readonly string $description,
11+
readonly int $number,
1112
readonly int $priority,
1213
readonly string $priorityLabel,
1314
readonly ?State $state,

src/Sdk/Issues.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function getOne(string $id): Dto\Issue
5858
id
5959
title
6060
description
61+
number
6162
priority
6263
priorityLabel
6364
state {
@@ -121,6 +122,7 @@ public function create(string $title, string $description, Dto\Team $team, ?Dto\
121122
id
122123
title
123124
description
125+
number
124126
priority
125127
priorityLabel
126128
state {
@@ -168,6 +170,7 @@ public function update(Dto\Issue $issue): Dto\Issue
168170
id
169171
title
170172
description
173+
number
171174
priority
172175
priorityLabel
173176
state {

src/Sdk/Projects.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function getAll(): Dto\Projects
2626
id
2727
title
2828
description
29+
number
2930
priority
3031
priorityLabel
3132
state {
@@ -65,6 +66,7 @@ public function getOne(string $id): Dto\Project
6566
id
6667
title
6768
description
69+
number
6870
priority
6971
priorityLabel
7072
state {

src/Sdk/Teams.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public function getOne(string $id, $includeIssues = false, $includeStates = fals
8080
id
8181
title
8282
description
83+
number
8384
priority
8485
priorityLabel
8586
state {

0 commit comments

Comments
 (0)