diff options
author | Hamza Mahjoubi <hamzamahjoubi221@gmail.com> | 2024-07-03 10:47:59 +0200 |
---|---|---|
committer | Hamza Mahjoubi <hamzamahjoubi221@gmail.com> | 2024-07-03 12:31:53 +0200 |
commit | 85a3b27cf956ebdb61f569ac04b7feb2d4835b37 (patch) | |
tree | a6f7fdd821cb601ef4f322ee90b9e46d6be04ec8 /lib/public | |
parent | 84699048b5626373d9e3e859bc48d9b355018fb9 (diff) | |
download | nextcloud-server-85a3b27cf956ebdb61f569ac04b7feb2d4835b37.tar.gz nextcloud-server-85a3b27cf956ebdb61f569ac04b7feb2d4835b37.zip |
Fix: Make out of office replacement nullable
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/User/IOutOfOfficeData.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/User/IOutOfOfficeData.php b/lib/public/User/IOutOfOfficeData.php index 19cc1120c4c..e3a4e2773bb 100644 --- a/lib/public/User/IOutOfOfficeData.php +++ b/lib/public/User/IOutOfOfficeData.php @@ -22,8 +22,8 @@ use OCP\IUser; * endDate: int, * shortMessage: string, * message: string, - * replacementUserId: string, - * replacementUserDisplayName: string + * replacementUserId: ?string, + * replacementUserDisplayName: ?string * } * * @since 28.0.0 @@ -76,14 +76,14 @@ interface IOutOfOfficeData extends JsonSerializable { * * @since 30.0.0 */ - public function getReplacementUserId(): string; + public function getReplacementUserId(): ?string; /** * Get the replacement user displayName for auto responders and similar * * @since 30.0.0 */ - public function getReplacementUserDisplayName(): string; + public function getReplacementUserDisplayName(): ?string; /** * @return OutOfOfficeData |