Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e38f41

Browse files
minor #26582 [Validator] Fix docblock of ClassMetadata#members (ostrolucky)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Fix docblock of ClassMetadata#members | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Structure of this array is in reality array<string, array<int, PropertyMetadata>>, so MemberMetadata is 2 levels deep in this array, instead of one Commits ------- 44008c4 [Validator] Fix docblock of ClassMetadata#members
2 parents 567cbaa + 44008c4 commit 1e38f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Mapping/ClassMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class ClassMetadata extends ElementMetadata implements ClassMetadataInterface
4848
public $defaultGroup;
4949

5050
/**
51-
* @var MemberMetadata[]
51+
* @var MemberMetadata[][]
5252
*
5353
* @internal This property is public in order to reduce the size of the
5454
* class' serialized representation. Do not access it. Use

0 commit comments

Comments
 (0)