Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-07-14 22:19:43 +0300
committerChristopher Ng <chrng8@gmail.com>2022-07-14 22:19:43 +0300
commit163b7a58f628a1f9df176958b2906ef4ac221218 (patch)
tree8047a7dc13d4db08a148b50d7d1404277b36fae1
parent4832853f658a891fa16be6d770dedb093712f0bd (diff)
Allow adding array content directly in export interfaceenh/export-array-content
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--lib/public/UserMigration/IExportDestination.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/UserMigration/IExportDestination.php b/lib/public/UserMigration/IExportDestination.php
index 65d228faeb9..11e40d6d357 100644
--- a/lib/public/UserMigration/IExportDestination.php
+++ b/lib/public/UserMigration/IExportDestination.php
@@ -37,12 +37,12 @@ interface IExportDestination {
* Adds a file to the export
*
* @param string $path Full path to the file in the export archive. Parent directories will be created if needed.
- * @param string $content The full content of the file.
+ * @param string|array $content The full content of the file.
* @throws UserMigrationException
*
* @since 24.0.0
*/
- public function addFileContents(string $path, string $content): void;
+ public function addFileContents(string $path, $content): void;
/**
* Adds a file to the export as a stream