Fix a Named Parameter on PHP 8

This commit is contained in:
Christopher Davis 2021-11-06 07:38:56 -05:00
parent 10d6d57ca7
commit 1e45fdf1d6

View File

@ -532,7 +532,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
if (\PHP_VERSION_ID >= 80000) {
yield 'Attributes' => [new class() {
#[Assert\NotBlank()]
#[Assert\Range(min: 1, group: ['other'])]
#[Assert\Range(min: 1, groups: ['other'])]
private $property1;
}];
}