mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
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:
parent
32838d8f0a
commit
eab7818f0e
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue