diff options
author | Faraz Samapoor <fsa@adlas.at> | 2023-07-14 17:37:19 +0330 |
---|---|---|
committer | Faraz Samapoor <fsa@adlas.at> | 2023-09-21 11:28:02 +0330 |
commit | 14ad1e921967ee3227c2a31aca63fbfdde1c928b (patch) | |
tree | 5bd940a9dcd28899b96d6677f34978cb2c477bba /lib/private/Collaboration | |
parent | 6427863443883c434ed39a16ec0531abd746fad6 (diff) | |
download | nextcloud-server-14ad1e921967ee3227c2a31aca63fbfdde1c928b.tar.gz nextcloud-server-14ad1e921967ee3227c2a31aca63fbfdde1c928b.zip |
Adds type hint to the method parameter.
Co-authored-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'lib/private/Collaboration')
-rw-r--r-- | lib/private/Collaboration/Collaborators/RemotePlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()]; |