Skip to content

Commit

Permalink
fix: allows to set a custom attribute to null
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioturdo committed Feb 26, 2024
1 parent d401f96 commit 51b1810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Object/UserAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function jsonSerialize(): mixed
* Using a DateTime object it would not be possible to know if you want
* to send a date that includes time or not.
*/
public function setCustomAttribute(string $key, array|bool|float|int|string $value): void
public function setCustomAttribute(string $key, array|bool|float|int|string|null $value): void
{
$this->_customAttributes[$key] = $value;
}
Expand Down

0 comments on commit 51b1810

Please sign in to comment.