diff --git a/Classes/S3Storage.php b/Classes/S3Storage.php index 755bd44..2427993 100644 --- a/Classes/S3Storage.php +++ b/Classes/S3Storage.php @@ -303,7 +303,7 @@ public function deleteResource(PersistentResource $resource): bool * @return bool|resource A URI (for example the full path and filename) leading to the resource file or FALSE if it does not exist * @api */ - public function getStreamByResource(PersistentResource $resource): bool + public function getStreamByResource(PersistentResource $resource) { try { return fopen('s3://' . $this->bucketName . '/' . $this->keyPrefix . $resource->getSha1(), 'rb');