Skip to content

Commit ea20fc0

Browse files
Allow adding custom field with NULL to clear it (#48)
* Allow adding custom field with NULL to clear it. * Style fix for type info.
1 parent 2f253f9 commit ea20fc0

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
@@ -155,7 +155,7 @@ public function getCustomFields(): ?array
155155
return $this->customFields;
156156
}
157157

158-
public function addCustomField(string $key, string|int|float|array|Document $value): static
158+
public function addCustomField(string $key, string|int|float|array|Document|null $value): static
159159
{
160160
$this->customFields[$key] = $value;
161161

0 commit comments

Comments
 (0)