Skip to content

Commit

Permalink
Change type declaration of addCustomField type to allow integer and f…
Browse files Browse the repository at this point in the history
…loat values (#451)
  • Loading branch information
ricksoons authored Jul 2, 2022
1 parent 62c1acf commit 0d4228e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Issue/IssueField.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function getCustomFields(): ?array
return $this->customFields;
}

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

Expand Down

0 comments on commit 0d4228e

Please sign in to comment.