Skip to content

Commit

Permalink
Allow null values (#527)
Browse files Browse the repository at this point in the history
e.g. to remove a previous selection from a checkbox field
  • Loading branch information
flack authored Mar 24, 2024
1 parent d375c35 commit db8b8d0
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|int|float|array $value): static
public function addCustomField(string $key, null|string|int|float|array $value): static
{
$this->customFields[$key] = $value;

Expand Down

0 comments on commit db8b8d0

Please sign in to comment.