Skip to content

Commit bda51fb

Browse files
authored
Fix compatibility for PHP 7.4
1 parent 4ede9a4 commit bda51fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Validator/CronExpressionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function testExpectsStringCompatibleValue(): void
6666
*/
6767
public function testInvalidValues($value, string $valueAsString): void
6868
{
69-
$constraint = new Constraint(message: 'myMessage');
69+
$constraint = new Constraint('myMessage');
7070

7171
$this->validator->validate($value, $constraint);
7272

0 commit comments

Comments
 (0)