Skip to content

Commit 2f586a3

Browse files
committed
minor symfony#19268 [Validator] add missing interface use statement for phpdoc block return type (hhamon)
This PR was merged into the 3.0 branch. Discussion ---------- [Validator] add missing interface use statement for phpdoc block return type | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- 43dff0e [Validator] add missing interface use statement for phpdoc block return type.
2 parents 58c8b71 + 43dff0e commit 2f586a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Symfony/Component/Validator/Mapping/Factory/MetadataFactoryInterface.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
namespace Symfony\Component\Validator\Mapping\Factory;
1313

14-
use Symfony\Component\Validator\Exception;
14+
use Symfony\Component\Validator\Exception\NoSuchMetadataException;
15+
use Symfony\Component\Validator\Mapping\MetadataInterface;
1516

1617
/**
1718
* Returns {@link \Symfony\Component\Validator\Mapping\MetadataInterface} instances for values.
@@ -29,7 +30,7 @@ interface MetadataFactoryInterface
2930
*
3031
* @return MetadataInterface The metadata for the value
3132
*
32-
* @throws Exception\NoSuchMetadataException If no metadata exists for the given value
33+
* @throws NoSuchMetadataException If no metadata exists for the given value
3334
*/
3435
public function getMetadataFor($value);
3536

0 commit comments

Comments
 (0)