diff --git a/composer.json b/composer.json index cd9552e..1a9e380 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "require": { "php": ">=8.0", - "knplabs/php-json-schema": ">=0.0.3", + "knplabs/php-json-schema": ">=0.0.4-alpha0", "zircote/swagger-php": ">=4.4", "symfony/http-kernel": ">=6.0", "symfony/dependency-injection": ">=6.0", diff --git a/src/RequestHandler.php b/src/RequestHandler.php index a6d016f..4806b13 100644 --- a/src/RequestHandler.php +++ b/src/RequestHandler.php @@ -5,6 +5,7 @@ namespace Knp\JsonSchemaBundle; use Knp\JsonSchema\Collection; +use Knp\JsonSchema\JsonSchemaInterface; use Knp\JsonSchema\Validator; use Knp\JsonSchemaBundle\Exception\JsonSchemaException; use Symfony\Component\HttpFoundation\Request; @@ -29,7 +30,7 @@ public function __construct( /** * @template T * - * @param class-string> $schemaClass + * @param class-string> $schemaClass * * @return T */