diff --git a/src/Testing/CompositeRule.php b/src/Testing/CompositeRule.php index c83fb047b5..68fb73ad5d 100644 --- a/src/Testing/CompositeRule.php +++ b/src/Testing/CompositeRule.php @@ -12,6 +12,8 @@ /** * Allows testing of rules which delegate work to NodeCallbackInvoker. * + * @template-covariant N of Node = Node + * @template-covariant R = Rule * @implements Rule * * @api @@ -22,8 +24,7 @@ final class CompositeRule implements Rule private DirectRegistry $registry; /** - * @template T of Node - * @param array> $rules + * @param array $rules * * @api */