From e72ff4aba4a7956310394768dc98a9e40c7aed7c Mon Sep 17 00:00:00 2001 From: Alexander Kim Date: Thu, 15 May 2025 10:20:40 -0400 Subject: [PATCH] fix: 7119 parameter array shape uses invalid syntax Closes #7119 --- src/Metadata/Parameter.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Metadata/Parameter.php b/src/Metadata/Parameter.php index 1acef3d8bce..ab7017359f8 100644 --- a/src/Metadata/Parameter.php +++ b/src/Metadata/Parameter.php @@ -23,12 +23,12 @@ abstract class Parameter { /** - * @param (array&array{type?: string, default?: string})|null $schema - * @param array $extraProperties - * @param ParameterProviderInterface|callable|string|null $provider - * @param list $properties a list of properties this parameter applies to (works with the :property placeholder) - * @param FilterInterface|string|null $filter - * @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules + * @param array{type?: string, default?: string, ...array}|null $schema + * @param array $extraProperties + * @param ParameterProviderInterface|callable|string|null $provider + * @param list $properties a list of properties this parameter applies to (works with the :property placeholder) + * @param FilterInterface|string|null $filter + * @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules */ public function __construct( protected ?string $key = null,