Skip to content

Commit b13dd6a

Browse files
committed
Fix Format validator
1 parent 4597e74 commit b13dd6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonSchema/Constraints/FormatConstraint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Nicofuma\SwaggerBundle\JsonSchema\Constraints;
44

5-
use JsonSchema\Constraints\Factory;
5+
use JsonSchema\Constraints\Factory as BaseFactory;
66
use JsonSchema\Constraints\FormatConstraint as FormatConstraintBase;
77
use JsonSchema\Uri\UriRetriever;
88
use Nicofuma\SwaggerBundle\Exception\FormatConstraintException;
@@ -13,7 +13,7 @@ class FormatConstraint extends FormatConstraintBase
1313
/** @var FormatValidatorInterface[] */
1414
private $formatMap = [];
1515

16-
public function __construct($checkMode, UriRetriever $uriRetriever, Factory $factory)
16+
public function __construct($checkMode, UriRetriever $uriRetriever, BaseFactory $factory)
1717
{
1818
parent::__construct($checkMode, $uriRetriever, $factory);
1919

0 commit comments

Comments
 (0)