From 1e45fdf1d6822452ee5edf3cfdade9e3ee353672 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Sat, 6 Nov 2021 07:38:56 -0500 Subject: [PATCH] Fix a Named Parameter on PHP 8 --- .../Annotations/SymfonyConstraintAnnotationReaderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ModelDescriber/Annotations/SymfonyConstraintAnnotationReaderTest.php b/Tests/ModelDescriber/Annotations/SymfonyConstraintAnnotationReaderTest.php index 4baed85..cb628d7 100644 --- a/Tests/ModelDescriber/Annotations/SymfonyConstraintAnnotationReaderTest.php +++ b/Tests/ModelDescriber/Annotations/SymfonyConstraintAnnotationReaderTest.php @@ -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; }]; }