Skip to content

Commit 8804463

Browse files
authored
[BUGFIX] Fix a type annotation in RuleSet (#1061)
This is the V8.x backport of #1051.
1 parent 13d7ee6 commit 8804463

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/RuleSet/RuleSet.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
abstract class RuleSet implements Renderable, Commentable
2424
{
2525
/**
26-
* @var array<string, Rule>
26+
* the rules in this rule set, using the property name as the key,
27+
* with potentially multiple rules per property name.
28+
*
29+
* @var array<string, array<int<0, max>, Rule>>
2730
*/
2831
private $aRules;
2932

0 commit comments

Comments
 (0)