diff --git a/src/Object/UserAttributes.php b/src/Object/UserAttributes.php index 86270cf..badd2a3 100644 --- a/src/Object/UserAttributes.php +++ b/src/Object/UserAttributes.php @@ -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; }