From 67d7e18dd241dd61e01ef016f9ca91ef0980e99f Mon Sep 17 00:00:00 2001 From: Marco Perberschlager Date: Mon, 16 Dec 2024 16:11:43 +0100 Subject: [PATCH] Changed type to string --- .../OpenApi/Attribute/Parameter/Query/ResizeModeParameter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Asset/OpenApi/Attribute/Parameter/Query/ResizeModeParameter.php b/src/Asset/OpenApi/Attribute/Parameter/Query/ResizeModeParameter.php index 7227dbc2..39f0ddd6 100644 --- a/src/Asset/OpenApi/Attribute/Parameter/Query/ResizeModeParameter.php +++ b/src/Asset/OpenApi/Attribute/Parameter/Query/ResizeModeParameter.php @@ -27,7 +27,7 @@ final class ResizeModeParameter extends QueryParameter public function __construct( bool $required = true, array $resizeModes = ResizeModes::ALLOWED_MODES, - mixed $defaultValue = ResizeModes::SCALE_BY_WIDTH + string $defaultValue = ResizeModes::SCALE_BY_WIDTH ) { parent::__construct( name: 'resizeMode',