Skip to content

Commit 0da010d

Browse files
authored
fix: remove extraneous array
1 parent b577253 commit 0da010d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/Metadata/Parameter.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
abstract class Parameter
2525
{
2626
/**
27-
* @param array{type?: string, default?: string, ...array<string, mixed>}|null $schema
28-
* @param array<string, mixed> $extraProperties
29-
* @param ParameterProviderInterface|callable|string|null $provider
30-
* @param list<string> $properties a list of properties this parameter applies to (works with the :property placeholder)
31-
* @param FilterInterface|string|null $filter
32-
* @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules
33-
* @param Type $nativeType the PHP native type, we cast values to an array if its a CollectionType, if not and it's an array with a single value we use it (eg: HTTP Header)
34-
* @param ?bool $castToNativeType whether API Platform should cast your parameter to the nativeType declared
35-
* @param ?callable(mixed): mixed $castFn the closure used to cast your parameter, this gets called only when $castToNativeType is set
27+
* @param array{type?: string, default?: string, ...<string, mixed>}|null $schema
28+
* @param array<string, mixed> $extraProperties
29+
* @param ParameterProviderInterface|callable|string|null $provider
30+
* @param list<string> $properties a list of properties this parameter applies to (works with the :property placeholder)
31+
* @param FilterInterface|string|null $filter
32+
* @param mixed $constraints an array of Symfony constraints, or an array of Laravel rules
33+
* @param Type $nativeType the PHP native type, we cast values to an array if its a CollectionType, if not and it's an array with a single value we use it (eg: HTTP Header)
34+
* @param ?bool $castToNativeType whether API Platform should cast your parameter to the nativeType declared
35+
* @param ?callable(mixed): mixed $castFn the closure used to cast your parameter, this gets called only when $castToNativeType is set
3636
*/
3737
public function __construct(
3838
protected ?string $key = null,

0 commit comments

Comments
 (0)