updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -2,9 +2,12 @@
namespace Intervention\Image\Imagick;
use Intervention\Image\AbstractDecoder;
use Intervention\Image\Exception\NotReadableException;
use Intervention\Image\Exception\NotSupportedException;
use Intervention\Image\Image;
class Decoder extends \Intervention\Image\AbstractDecoder
class Decoder extends AbstractDecoder
{
/**
* Initiates new image from path in filesystem
@@ -45,7 +48,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
*/
public function initFromGdResource($resource)
{
throw new \Intervention\Image\Exception\NotSupportedException(
throw new NotSupportedException(
'Imagick driver is unable to init from GD resource.'
);
}
@@ -84,7 +87,7 @@ class Decoder extends \Intervention\Image\AbstractDecoder
$core->readImageBlob($binary);
} catch (\ImagickException $e) {
throw new \Intervention\Image\Exception\NotReadableException(
throw new NotReadableException(
"Unable to read image from binary data.",
0,
$e