aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Command/Config.php2
-rw-r--r--apps/files_external/lib/Command/Option.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Command/Config.php b/apps/files_external/lib/Command/Config.php
index f677e51d604..0736749f6d9 100644
--- a/apps/files_external/lib/Command/Config.php
+++ b/apps/files_external/lib/Command/Config.php
@@ -73,7 +73,7 @@ class Config extends Base {
if (!is_string($value) && json_decode(json_encode($value)) === $value) { // show bools and objects correctly
$value = json_encode($value);
}
- $output->writeln($value);
+ $output->writeln((string)$value);
}
/**
diff --git a/apps/files_external/lib/Command/Option.php b/apps/files_external/lib/Command/Option.php
index 6b679f1d6f7..6051c9c5fbd 100644
--- a/apps/files_external/lib/Command/Option.php
+++ b/apps/files_external/lib/Command/Option.php
@@ -38,7 +38,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);
}
/**