Skip to content

Commit 0d4228e

Browse files
authored
Change type declaration of addCustomField type to allow integer and float values (#451)
1 parent 62c1acf commit 0d4228e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Issue/IssueField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function getCustomFields(): ?array
150150
return $this->customFields;
151151
}
152152

153-
public function addCustomField(string $key, string $value): static
153+
public function addCustomField(string $key, string|int|float $value): static
154154
{
155155
$this->customFields[$key] = $value;
156156

0 commit comments

Comments
 (0)