Skip to content

Commit

Permalink
Narrow types
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 8, 2024
1 parent 2aceb44 commit d04d3aa
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 @@ -33,15 +33,15 @@
final class Groups
{
/**
* @var array<string, array<int, string>>
* @var array<string, list<non-empty-string>>
*/
private static array $groupCache = [];

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

0 comments on commit d04d3aa

Please sign in to comment.