aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/StorageObjectStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/ObjectStore/StorageObjectStore.php')
-rw-r--r--lib/private/Files/ObjectStore/StorageObjectStore.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/private/Files/ObjectStore/StorageObjectStore.php b/lib/private/Files/ObjectStore/StorageObjectStore.php
index 2076bb3f88b..a3fbc3cec74 100644
--- a/lib/private/Files/ObjectStore/StorageObjectStore.php
+++ b/lib/private/Files/ObjectStore/StorageObjectStore.php
@@ -65,13 +65,7 @@ class StorageObjectStore implements IObjectStore {
throw new \Exception();
}
- /**
- * @param string $urn the unified resource name used to identify the object
- * @param resource $stream stream with the data to write
- * @throws \Exception when something goes wrong, message will be logged
- * @since 7.0.0
- */
- public function writeObject($urn, $stream) {
+ public function writeObject($urn, $stream, string $mimetype = null) {
$handle = $this->storage->fopen($urn, 'w');
if ($handle) {
stream_copy_to_stream($stream, $handle);