diff --git a/src/Drivers/Abstract/AbstractInputHandler.php b/src/Drivers/Abstract/AbstractInputHandler.php index d0f25c9b..92ac0b23 100644 --- a/src/Drivers/Abstract/AbstractInputHandler.php +++ b/src/Drivers/Abstract/AbstractInputHandler.php @@ -12,7 +12,7 @@ abstract class AbstractInputHandler /** * Array of decoders which will be stacked into to the input handler chain */ - protected $decoders = []; + protected array $decoders = []; /** * Stack the decoder array into a nested decoder object diff --git a/src/Drivers/Gd/InputHandler.php b/src/Drivers/Gd/InputHandler.php index 85d69a74..2cd3da3b 100644 --- a/src/Drivers/Gd/InputHandler.php +++ b/src/Drivers/Gd/InputHandler.php @@ -17,7 +17,7 @@ use Intervention\Image\Drivers\Gd\Decoders\Base64ImageDecoder; class InputHandler extends AbstractInputHandler { - protected $decoders = [ + protected array $decoders = [ ImageObjectDecoder::class, ColorObjectDecoder::class, HexColorDecoder::class, diff --git a/src/Drivers/Imagick/InputHandler.php b/src/Drivers/Imagick/InputHandler.php index 3d27678a..c41649d0 100644 --- a/src/Drivers/Imagick/InputHandler.php +++ b/src/Drivers/Imagick/InputHandler.php @@ -17,7 +17,7 @@ use Intervention\Image\Drivers\Imagick\Decoders\Base64ImageDecoder; class InputHandler extends AbstractInputHandler { - protected $decoders = [ + protected array $decoders = [ ImageObjectDecoder::class, ColorObjectDecoder::class, HexColorDecoder::class,