8000 minor #11706 [Validator] ClassMetadata doc fix (Tobion) · symfony/symfony@aa58bb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit aa58bb8

Browse files
committed
minor #11706 [Validator] ClassMetadata doc fix (Tobion)
This PR was merged into the 2.5 branch. Discussion ---------- [Validator] ClassMetadata doc fix | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - [Validator] fix return doc of ClassMetadata::getCascadingStrategy (int instead of bool) - [Validator] remove duplicate interface implementations (they are already implemented by extension) Commits ------- 1eec2d6 [Validator] remove duplicate interface implementations 6dd5592 [Validator] fix return doc of ClassMetadata::getCascadingStrategy
2 parents fb97786 + 1eec2d6 commit aa58bb8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
use Symfony\Component\Validator\Constraints\Valid;
1818
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
1919
use Symfony\Component\Validator\Exception\GroupDefinitionException;
20-
use Symfony\Component\Validator\MetadataInterface as LegacyMetadataInterface;
21-
use Symfony\Component\Validator\PropertyMetadataContainerInterface;
2220
use Symfony\Component\Validator\ValidationVisitorInterface;
2321

2422
/**
@@ -29,7 +27,7 @@
2927
* @author Bernhard Schussek <bschussek@gmail.com>
3028
* @author Fabien Potencier <fabien@symfony.com>
3129
*/
32-
class ClassMetadata extends ElementMetadata implements LegacyMetadataInterface, PropertyMetadataContainerInterface, ClassMetadataInterface
30+
class ClassMetadata extends ElementMetadata implements ClassMetadataInterface
3331
{
3432
/**
3533
* @var string
@@ -499,7 +497,7 @@ public function isGroupSequenceProvider()
499497
/**
500498
* Class nodes are never cascaded.
501499
*
502-
* @return bool Always returns false.
500+
* {@inheritdoc}
503501
*/
504502
public function getCascadingStrategy()
505503
{

0 commit comments

Comments
 (0)
0