Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/ImageProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@
$storage = $this->storageHandler->getStorage($file->storage());

if ($stream === null) {
$stream = $storage->readStream($file->path());

Check failure on line 180 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method readStream() on an unknown class League\Flysystem\AdapterInterface.

Check failure on line 180 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method readStream() on an unknown class League\Flysystem\AdapterInterface.
$stream = $stream['stream'];
} else {
rewind($stream);
}
Expand Down Expand Up @@ -253,7 +252,7 @@
if (isset($data['optimize']) && $data['optimize'] === true) {
$this->optimizeAndStore($file, $path);
} else {
$storage->writeStream(

Check failure on line 255 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method writeStream() on an unknown class League\Flysystem\AdapterInterface.

Check failure on line 255 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method writeStream() on an unknown class League\Flysystem\AdapterInterface.
$path,
StreamWrapper::getResource($this->image->stream($file->extension(), $this->quality)),
new Config()
Expand Down Expand Up @@ -297,7 +296,7 @@
$optimizerOutputHandler = openFile($optimizerOutput, 'rb+');

// And store it...
$storage->writeStream(

Check failure on line 299 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method writeStream() on an unknown class League\Flysystem\AdapterInterface.

Check failure on line 299 in src/ImageProcessor.php

View workflow job for this annotation

GitHub Actions / Coding Standard & Static Analysis

Call to method writeStream() on an unknown class League\Flysystem\AdapterInterface.
$path,
$optimizerOutputHandler,
new Config()
Expand Down
Loading