aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/RemotePlugin.php
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-07-14 17:37:19 +0330
committerFaraz Samapoor <fsa@adlas.at>2023-09-21 11:28:02 +0330
commit14ad1e921967ee3227c2a31aca63fbfdde1c928b (patch)
tree5bd940a9dcd28899b96d6677f34978cb2c477bba /lib/private/Collaboration/Collaborators/RemotePlugin.php
parent6427863443883c434ed39a16ec0531abd746fad6 (diff)
downloadnextcloud-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/Collaborators/RemotePlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/RemotePlugin.php2
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()];