-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
I have been using 3.1.1 until now and for a radiobutton customField I used
$issueField->addCustomField('customfield_12345', null);
to remove a previous selection. This has worked fine so far, but newer releases don't allow null
any more. I've tried using []
and some other variants instead, but none of them work (I get jira errors then). If I remove the typehint, it seems to work. Is there some other way to accomplish this, or should I send a PR that changes the typehint to look like this?
public function addCustomField(string $key, null|string|int|float|array $value): static
VirginiaPhoenix, kamilberger18 and chimok
Metadata
Metadata
Assignees
Labels
No labels