summaryrefslogtreecommitdiffstats
path: root/lib/public/Federation/ICloudIdManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Federation/ICloudIdManager.php')
-rw-r--r--lib/public/Federation/ICloudIdManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Federation/ICloudIdManager.php b/lib/public/Federation/ICloudIdManager.php
index df7bd127baf..1612c03ba4a 100644
--- a/lib/public/Federation/ICloudIdManager.php
+++ b/lib/public/Federation/ICloudIdManager.php
@@ -46,12 +46,12 @@ interface ICloudIdManager {
* Get the cloud id for a remote user
*
* @param string $user
- * @param string $remote
+ * @param string|null $remote (optional since 23.0.0 for local users)
* @return ICloudId
*
* @since 12.0.0
*/
- public function getCloudId(string $user, string $remote): ICloudId;
+ public function getCloudId(string $user, ?string $remote): ICloudId;
/**
* Check if the input is a correctly formatted cloud id