Skip to content

Commit 43dff0e

Browse files
author
Hugo Hamon
committed
[Validator] add missing interface use statement for phpdoc block return type.
1 parent 58c8b71 commit 43dff0e

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)