Skip to content

Commit

Permalink
Handle file pointer directly in GifEncoder::class
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Sep 21, 2024
1 parent e742647 commit 93ca996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Gd/Encoders/GifEncoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function encodeAnimated(ImageInterface $image): EncodedImage

foreach ($image as $frame) {
$builder->addFrame(

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - prefer-stable - ImageMagick 7.1.1-32

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.4 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.2 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.3 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.4 - prefer-stable - ImageMagick 6.9.12-55

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.

Check failure on line 49 in src/Drivers/Gd/Encoders/GifEncoder.php

View workflow job for this annotation

GitHub Actions / PHP 8.1 - prefer-stable - ImageMagick 7.1.1-32

Method Intervention\Image\Drivers\Gd\Encoders\GifEncoder::encodeAnimated() throws checked exception Intervention\Gif\Exceptions\DecoderException but it's missing from the PHPDoc @throws tag.
source: (string) $this->encode($frame->toImage($image->driver())),
source: $this->encode($frame->toImage($image->driver()))->toFilePointer(),
delay: $frame->delay(),
interlaced: $this->interlaced
);
Expand Down

0 comments on commit 93ca996

Please sign in to comment.