Skip to content

Commit e72ff4a

Browse files
committed
fix: 7119 parameter array shape uses invalid syntax
Closes #7119
1 parent b179302 commit e72ff4a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/Metadata/Parameter.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
abstract class Parameter
2424
{
2525
/**
26-
* @param (array<string, mixed>&array{type?: string, default?: string})|null $schema
27-
* @param array<string, mixed> $extraProperties
28-
* @param ParameterProviderInterface|callable|string|null $provider
29-
* @param list<string> $properties a list of properties this parameter applies to (works with the :property placeholder)
30-
* @param FilterInterface|string|null $filter
31-
* @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules
26+
* @param array{type?: string, default?: string, ...array<string, mixed>}|null $schema
27+
* @param array<string, mixed> $extraProperties
28+
* @param ParameterProviderInterface|callable|string|null $provider
29+
* @param list<string> $properties a list of properties this parameter applies to (works with the :property placeholder)
30+
* @param FilterInterface|string|null $filter
31+
* @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules
3232
*/
3333
public function __construct(
3434
protected ?string $key = null,

0 commit comments

Comments
 (0)