Skip to content

Commit 604f2a0

Browse files
committed
PHPStan fixes
1 parent 13df455 commit 604f2a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Unit/Validation/Logical/OrRuleTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public static function data_provider(): array
5151
'Will be able to use validation rules 2' => [
5252
'logicalRuleClassString' => OrRule::class,
5353
'ruleEvaluators' => [
54-
$stringRule,
55-
$numericRule
54+
$stringRule = StringRule::make(),
55+
$numericRule = NumericRule::make()
5656
],
5757
'expectedCreateException' => null,
5858
'valueToBeEvaluated' => 1234,
@@ -67,7 +67,7 @@ public static function data_provider(): array
6767
'Will be able to use validation rule 3' => [
6868
'logicalRuleClassString' => OrRule::class,
6969
'ruleEvaluators' => [
70-
$numericRule
70+
$numericRule = NumericRule::make()
7171
],
7272
'expectedCreateException' => null,
7373
'valueToBeEvaluated' => 1234.45,

0 commit comments

Comments
 (0)