Skip to content

Commit

Permalink
more specific key-type
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and sebastianbergmann committed Mar 14, 2024
1 parent 9a8d5cf commit baa8671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Metadata/Api/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
final class Groups
{
/**
* @var array<string, array<string>>
* @var array<string, array<int, string>>
*/
private static array $groupCache = [];

/**
* @psalm-param class-string $className
* @psalm-param non-empty-string $methodName
*
* @psalm-return array<string>
* @psalm-return array<int, string>
*/
public function groups(string $className, string $methodName, bool $includeVirtual = true): array
{
Expand Down

0 comments on commit baa8671

Please sign in to comment.