Skip to content

Commit

Permalink
Adds parameter type hints.
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Faraz Samapoor <[email protected]>
Signed-off-by: Faraz Samapoor <[email protected]>
  • Loading branch information
2 people authored and fsamapoor committed Sep 28, 2023
1 parent 32838d8 commit eab7818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Command/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function getBackendByClass(string $className) {
}
}

protected function getStorageService($userId): StoragesService {
protected function getStorageService(string $userId): StoragesService {
if (empty($userId)) {
return $this->globalService;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/lib/Command/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function listMounts($userId, array $mounts, InputInterface $input, Output
}
}

protected function getStorageService($userId): StoragesService {
protected function getStorageService(string $userId): StoragesService {
if (empty($userId)) {
return $this->globalService;
}
Expand Down

0 comments on commit eab7818

Please sign in to comment.