summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/StorageConfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Lib/StorageConfig.php')
-rw-r--r--apps/files_external/lib/Lib/StorageConfig.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/lib/Lib/StorageConfig.php b/apps/files_external/lib/Lib/StorageConfig.php
index 97b72005018..26ba483b00e 100644
--- a/apps/files_external/lib/Lib/StorageConfig.php
+++ b/apps/files_external/lib/Lib/StorageConfig.php
@@ -396,10 +396,8 @@ class StorageConfig implements \JsonSerializable {
/**
* Serialize config to JSON
- *
- * @return array
*/
- public function jsonSerialize() {
+ public function jsonSerialize(): array {
$result = [];
if (!is_null($this->id)) {
$result['id'] = $this->id;