updated-packages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user