1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 16:50:07 +02:00

Add type hints

This commit is contained in:
Oliver Vogel
2023-10-21 14:49:22 +02:00
parent 19efa81afa
commit a1f75482e1
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ abstract class AbstractInputHandler
/** /**
* Array of decoders which will be stacked into to the input handler chain * 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 * Stack the decoder array into a nested decoder object

View File

@@ -17,7 +17,7 @@ use Intervention\Image\Drivers\Gd\Decoders\Base64ImageDecoder;
class InputHandler extends AbstractInputHandler class InputHandler extends AbstractInputHandler
{ {
protected $decoders = [ protected array $decoders = [
ImageObjectDecoder::class, ImageObjectDecoder::class,
ColorObjectDecoder::class, ColorObjectDecoder::class,
HexColorDecoder::class, HexColorDecoder::class,

View File

@@ -17,7 +17,7 @@ use Intervention\Image\Drivers\Imagick\Decoders\Base64ImageDecoder;
class InputHandler extends AbstractInputHandler class InputHandler extends AbstractInputHandler
{ {
protected $decoders = [ protected array $decoders = [
ImageObjectDecoder::class, ImageObjectDecoder::class,
ColorObjectDecoder::class, ColorObjectDecoder::class,
HexColorDecoder::class, HexColorDecoder::class,