diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-07-14 22:19:43 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-07-14 22:19:43 +0300 |
commit | 163b7a58f628a1f9df176958b2906ef4ac221218 (patch) | |
tree | 8047a7dc13d4db08a148b50d7d1404277b36fae1 | |
parent | 4832853f658a891fa16be6d770dedb093712f0bd (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.php | 4 |
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 |