1
0
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:
Oliver Vogel
2023-12-17 09:36:24 +01:00
parent a1f1b98fb5
commit 61d7cdbac2

View File

@@ -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);