diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 00:54:00 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-10-17 10:58:25 +0200 |
commit | 2d75321c2360fb20bf3705ef0b6c82ab320cc3ae (patch) | |
tree | 861f41190a5905c2ed50ed9b75fb5bafb982acf7 /apps/files_external/lib/Command/Config.php | |
parent | cf1381a6f995fb2196a37253dd46dbf6d34a920a (diff) | |
download | nextcloud-server-2d75321c2360fb20bf3705ef0b6c82ab320cc3ae.tar.gz nextcloud-server-2d75321c2360fb20bf3705ef0b6c82ab320cc3ae.zip |
Add more typing to FilesExternal commands
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_external/lib/Command/Config.php')
-rw-r--r-- | apps/files_external/lib/Command/Config.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php index 5d0675b04bc..1107bfb4d42 100644 --- a/apps/files_external/lib/Command/Config.php +++ b/apps/files_external/lib/Command/Config.php @@ -33,17 +33,14 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Config extends Base { - /** - * @var GlobalStoragesService - */ - protected $globalService; + protected GlobalStoragesService $globalService; public function __construct(GlobalStoragesService $globalService) { parent::__construct(); $this->globalService = $globalService; } - protected function configure() { + protected function configure(): void { $this ->setName('files_external:config') ->setDescription('Manage backend configuration for a mount') |