summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Command/Option.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Command/Option.php')
-rw-r--r--apps/files_external/lib/Command/Option.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/files_external/lib/Command/Option.php b/apps/files_external/lib/Command/Option.php
index 30390ebabee..8ef423e2699 100644
--- a/apps/files_external/lib/Command/Option.php
+++ b/apps/files_external/lib/Command/Option.php
@@ -47,11 +47,9 @@ class Option extends Config {
}
/**
- * @param StorageConfig $mount
* @param string $key
- * @param OutputInterface $output
*/
- protected function getOption(StorageConfig $mount, $key, OutputInterface $output) {
+ protected function getOption(StorageConfig $mount, $key, OutputInterface $output): void {
$value = $mount->getMountOption($key);
if (!is_string($value)) { // show bools and objects correctly
$value = json_encode($value);
@@ -60,12 +58,10 @@ class Option extends Config {
}
/**
- * @param StorageConfig $mount
* @param string $key
* @param string $value
- * @param OutputInterface $output
*/
- protected function setOption(StorageConfig $mount, $key, $value, OutputInterface $output) {
+ protected function setOption(StorageConfig $mount, $key, $value, OutputInterface $output): void {
$decoded = json_decode($value, true);
if (!is_null($decoded)) {
$value = $decoded;