aboutsummaryrefslogtreecommitdiffstats
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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Option.php b/apps/files_external/lib/Command/Option.php
index 6b679f1d6f7..3fda3fcb3cf 100644
--- a/apps/files_external/lib/Command/Option.php
+++ b/apps/files_external/lib/Command/Option.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
@@ -38,7 +39,7 @@ class Option extends Config {
if (!is_string($value)) { // show bools and objects correctly
$value = json_encode($value);
}
- $output->writeln($value);
+ $output->writeln((string)$value);
}
/**