Skip to content

Commit f18d5ee

Browse files
sezagxaviermarchegay
authored andcommitted
Fix Rules Transformer
1 parent 6713d76 commit f18d5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transformer/RulesTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function configureRuleOptions(OptionsResolver $resolver, array $expressio
128128
/**
129129
* Test if a value match a rule.
130130
*/
131-
protected function matchRule(mixed $value, string|ParsedExpression $rule, bool $useValueAsVariable): bool
131+
protected function matchRule(mixed $value, array $rule, bool $useValueAsVariable): bool
132132
{
133133
if (null !== $rule['condition']) {
134134
$expressionValues = $useValueAsVariable ? $value : [

0 commit comments

Comments
 (0)