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:
@@ -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
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user