From 14ad1e921967ee3227c2a31aca63fbfdde1c928b Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Fri, 14 Jul 2023 17:37:19 +0330 Subject: [PATCH] Adds type hint to the method parameter. Co-authored-by: fenn-cs Signed-off-by: Faraz Samapoor --- lib/private/Collaboration/Collaborators/RemotePlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Collaboration/Collaborators/RemotePlugin.php b/lib/private/Collaboration/Collaborators/RemotePlugin.php index 8a36a7989b2..a0868796689 100644 --- a/lib/private/Collaboration/Collaborators/RemotePlugin.php +++ b/lib/private/Collaboration/Collaborators/RemotePlugin.php @@ -175,7 +175,7 @@ class RemotePlugin implements ISearchPlugin { * @return array [user, remoteURL] * @throws \InvalidArgumentException */ - public function splitUserRemote($address): array { + public function splitUserRemote(string $address): array { try { $cloudId = $this->cloudIdManager->resolveCloudId($address); return [$cloudId->getUser(), $cloudId->getRemote()];