We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4975dfa commit 68054caCopy full SHA for 68054ca
src/Visitor/Php/Symfony/ValidationAnnotation.php
@@ -73,10 +73,10 @@ public function enterNode(Node $node): ?Node
73
return null;
74
}
75
76
- $this->extractFromConstraints($metadata->constraints);
77
- foreach ($metadata->members as $members) {
78
- foreach ($members as $member) {
79
- $this->extractFromConstraints($member->constraints);
+ $this->extractFromConstraints($metadata->getConstraints());
+ foreach ($metadata->getConstrainedProperties() as $property) {
+ foreach ($metadata->getPropertyMetadata($property) as $member) {
+ $this->extractFromConstraints($member->getConstraints());
80
81
82
0 commit comments