Skip to content

Commit 0a4518a

Browse files
committed
fix: #7119 array shape in ProviderInterface
With this syntax `request` and `resource_class` can be detected. Otherwise it just becomes an unsealed associative array.
1 parent b179302 commit 0a4518a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/State/ProviderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ interface ProviderInterface
2929
/**
3030
* Provides data.
3131
*
32-
* @param array<string, mixed> $uriVariables
33-
* @param array<string, mixed>|array{request?: Request, resource_class?: string} $context
32+
* @param array<string, mixed> $uriVariables
33+
* @param array{request?: Request, resource_class?: string, ... array<string, mixed>} $context
3434
*
3535
* @return T|PartialPaginatorInterface<T>|iterable<T>|null
3636
*/

0 commit comments

Comments
 (0)