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>
pull/39131/head
Faraz Samapoor 3 years ago committed by Faraz Samapoor
parent 32838d8f0a
commit eab7818f0e
  1. 2
      apps/files_external/lib/Command/Import.php
  2. 2
      apps/files_external/lib/Command/ListCommand.php

@ -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…
Cancel
Save