Skip to content

Commit db8b8d0

Browse files
authored
Allow null values (#527)
e.g. to remove a previous selection from a checkbox field
1 parent d375c35 commit db8b8d0

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

0 commit comments

Comments
 (0)