File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 640
640
</RedundantCondition >
641
641
</file >
642
642
<file src =" src/Metadata/Api/Groups.php" >
643
- <LessSpecificReturnStatement >
644
- <code ><![CDATA[ array_unique($groups)]]> </code >
645
- <code ><![CDATA[ array_unique($groups)]]> </code >
646
- </LessSpecificReturnStatement >
647
- <MoreSpecificReturnType >
648
- <code ><![CDATA[ list<string>]]> </code >
649
- </MoreSpecificReturnType >
650
643
<RedundantCondition >
651
644
<code ><![CDATA[ $metadata instanceof CoversFunction]]> </code >
652
645
<code ><![CDATA[ $metadata instanceof UsesFunction]]> </code >
Original file line number Diff line number Diff line change 31
31
final class Groups
32
32
{
33
33
/**
34
- * @var array<string, list <string>>
34
+ * @var array<string, array <string>>
35
35
*/
36
36
private static array $ groupCache = [];
37
37
38
38
/**
39
39
* @psalm-param class-string $className
40
40
* @psalm-param non-empty-string $methodName
41
41
*
42
- * @psalm-return list <string>
42
+ * @psalm-return array <string>
43
43
*/
44
44
public function groups (string $ className , string $ methodName , bool $ includeVirtual = true ): array
45
45
{
You can’t perform that action at this time.
0 commit comments