diff options
Diffstat (limited to 'apps/dav/lib/Db/Absence.php')
-rw-r--r-- | apps/dav/lib/Db/Absence.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/lib/Db/Absence.php b/apps/dav/lib/Db/Absence.php index c58593e3e3f..550958aaabd 100644 --- a/apps/dav/lib/Db/Absence.php +++ b/apps/dav/lib/Db/Absence.php @@ -30,9 +30,9 @@ use OCP\User\IOutOfOfficeData; * @method string getMessage() * @method void setMessage(string $message) * @method string getReplacementUserId() - * @method void setReplacementUserId(string $replacementUserId) + * @method void setReplacementUserId(?string $replacementUserId) * @method string getReplacementUserDisplayName() - * @method void setReplacementUserDisplayName(string $replacementUserDisplayName) + * @method void setReplacementUserDisplayName(?string $replacementUserDisplayName) */ class Absence extends Entity implements JsonSerializable { protected string $userId = ''; @@ -47,9 +47,9 @@ class Absence extends Entity implements JsonSerializable { protected string $message = ''; - protected string $replacementUserId = ''; + protected ?string $replacementUserId = null; - protected string $replacementUserDisplayName = ''; + protected ?string $replacementUserDisplayName = null; public function __construct() { $this->addType('userId', 'string'); |