aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Federation
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-14 12:47:46 +0100
committerJoas Schilling <coding@schilljs.com>2017-02-14 12:47:46 +0100
commit0be292196657bb6d525214d7f6832029bde189cd (patch)
tree04ebeb23d6991bc078bbcbf4b18548e6a86c8dff /lib/private/Federation
parent7113af3f9102ca4e27350786934df9de3c54f71b (diff)
downloadnextcloud-server-0be292196657bb6d525214d7f6832029bde189cd.tar.gz
nextcloud-server-0be292196657bb6d525214d7f6832029bde189cd.zip
Fix DI of the cloud id manager into apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Federation')
-rw-r--r--lib/private/Federation/CloudIdManager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Federation/CloudIdManager.php b/lib/private/Federation/CloudIdManager.php
index 45cc69b306e..46d90f7ab92 100644
--- a/lib/private/Federation/CloudIdManager.php
+++ b/lib/private/Federation/CloudIdManager.php
@@ -27,6 +27,7 @@ class CloudIdManager implements ICloudIdManager {
/**
* @param string $cloudId
* @return ICloudId
+ * @throws \InvalidArgumentException
*/
public function resolveCloudId($cloudId) {
// TODO magic here to get the url and user instead of just splitting on @