mirror of
https://github.com/Intervention/image.git
synced 2025-08-09 15:26:38 +02:00
Add minor code improvements
This commit is contained in:
@@ -17,7 +17,6 @@ abstract class AbstractDecoder implements DecoderInterface
|
|||||||
|
|
||||||
public function __construct(protected ?AbstractDecoder $successor = null)
|
public function __construct(protected ?AbstractDecoder $successor = null)
|
||||||
{
|
{
|
||||||
//
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -27,7 +26,7 @@ abstract class AbstractDecoder implements DecoderInterface
|
|||||||
* @return ImageInterface|ColorInterface
|
* @return ImageInterface|ColorInterface
|
||||||
* @throws DecoderException
|
* @throws DecoderException
|
||||||
*/
|
*/
|
||||||
final public function handle($input): ImageInterface|ColorInterface
|
final public function handle(mixed $input): ImageInterface|ColorInterface
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$decoded = $this->decode($input);
|
$decoded = $this->decode($input);
|
||||||
|
Reference in New Issue
Block a user