diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 725ed7fcaf36a..18b0519c41bcf 100644 --- a/lib/private/Files/ObjectStore/Swift.php +++ b/lib/private/Files/ObjectStore/Swift.php @@ -264,7 +264,7 @@ public function readObject($urn) { // save the object content in the context of the stream to prevent it being gc'd until the stream is closed stream_context_set_option($stream, 'swift', 'content', $objectContent); - RetryWrapper::wrap($stream); + return RetryWrapper::wrap($stream); } /**