mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-13 04:59:24 +03:00
Fix a Named Parameter on PHP 8
This commit is contained in:
parent
10d6d57ca7
commit
1e45fdf1d6
@ -532,7 +532,7 @@ class SymfonyConstraintAnnotationReaderTest extends TestCase
|
|||||||
if (\PHP_VERSION_ID >= 80000) {
|
if (\PHP_VERSION_ID >= 80000) {
|
||||||
yield 'Attributes' => [new class() {
|
yield 'Attributes' => [new class() {
|
||||||
#[Assert\NotBlank()]
|
#[Assert\NotBlank()]
|
||||||
#[Assert\Range(min: 1, group: ['other'])]
|
#[Assert\Range(min: 1, groups: ['other'])]
|
||||||
private $property1;
|
private $property1;
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user