diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 09:22:29 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 10:16:08 +0200 |
commit | 2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch) | |
tree | a3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /apps/files_external/lib/Command | |
parent | 1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff) | |
download | nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.tar.gz nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.zip |
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_external/lib/Command')
-rw-r--r-- | apps/files_external/lib/Command/Config.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php index c7fd63c5e43..f58b1561e68 100644 --- a/apps/files_external/lib/Command/Config.php +++ b/apps/files_external/lib/Command/Config.php @@ -93,8 +93,8 @@ class Config extends Base { $value = $mount->getBackendOption($key); } if (!is_string($value) && json_decode(json_encode($value)) === $value) { // show bools and objects correctly - $value = json_encode($value); - } + $value = json_encode($value); + } $output->writeln($value); } @@ -106,9 +106,9 @@ class Config extends Base { */ protected function setOption(StorageConfig $mount, $key, $value, OutputInterface $output) { $decoded = json_decode($value, true); - if (!is_null($decoded) && json_encode($decoded) === $value) { - $value = $decoded; - } + if (!is_null($decoded) && json_encode($decoded) === $value) { + $value = $decoded; + } if ($key === 'mountpoint' || $key === 'mount_point') { $mount->setMountPoint($value); } else { |