Adds parameter type hints.

Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
This commit is contained in:
Faraz Samapoor 2023-07-17 21:18:56 +03:30 committed by Faraz Samapoor
parent 32838d8f0a
commit eab7818f0e
2 changed files with 2 additions and 2 deletions

View file

@ -181,7 +181,7 @@ class Import extends Base {
}
}
protected function getStorageService($userId): StoragesService {
protected function getStorageService(string $userId): StoragesService {
if (empty($userId)) {
return $this->globalService;
}

View file

@ -242,7 +242,7 @@ class ListCommand extends Base {
}
}
protected function getStorageService($userId): StoragesService {
protected function getStorageService(string $userId): StoragesService {
if (empty($userId)) {
return $this->globalService;
}