mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Adds type hint to the method parameter.
Co-authored-by: fenn-cs <fenn25.fn@gmail.com> Signed-off-by: Faraz Samapoor <fsa@adlas.at>
This commit is contained in:
parent
6427863443
commit
14ad1e9219
1 changed files with 1 additions and 1 deletions
|
|
@ -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()];
|
||||
|
|
|
|||
Loading…
Reference in a new issue