diff --git a/composer.json b/composer.json index 9c52b47..8cc3f35 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "phpunit/phpunit": "^10.3", "phpstan/phpstan": "^1.10", "php-collective/code-sniffer": "^0.2.1", - "php-collective/file-storage": "dev-master as 1.0", + "php-collective/file-storage": "dev-league/flysystem-v3 as 1.0", "instituteweb/composer-scripts": "^1.1" }, "minimum-stability": "dev", diff --git a/src/ImageProcessor.php b/src/ImageProcessor.php index 952ca9b..c14220c 100644 --- a/src/ImageProcessor.php +++ b/src/ImageProcessor.php @@ -178,7 +178,6 @@ protected function copyOriginalFileData(FileInterface $file, $tempFileStream) if ($stream === null) { $stream = $storage->readStream($file->path()); - $stream = $stream['stream']; } else { rewind($stream); }