mirror of
https://github.com/justinrainbow/json-schema.git
synced 2025-07-12 18:56:42 +02:00
Fix: Remove unused imports
This commit is contained in:
@ -3,7 +3,6 @@
|
|||||||
namespace JsonSchema\Uri\Retrievers;
|
namespace JsonSchema\Uri\Retrievers;
|
||||||
|
|
||||||
use JsonSchema\Validator;
|
use JsonSchema\Validator;
|
||||||
use JsonSchema\Uri\Retrievers\UriRetrieverInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* URI retrieved based on a predefined array of schemas
|
* URI retrieved based on a predefined array of schemas
|
||||||
@ -36,7 +35,7 @@ class PredefinedArray extends AbstractRetriever
|
|||||||
$this->schemas = $schemas;
|
$this->schemas = $schemas;
|
||||||
$this->contentType = $contentType;
|
$this->contentType = $contentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
* @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve()
|
* @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve()
|
||||||
@ -52,4 +51,4 @@ class PredefinedArray extends AbstractRetriever
|
|||||||
|
|
||||||
return $this->schemas[$uri];
|
return $this->schemas[$uri];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -12,11 +12,6 @@ namespace JsonSchema;
|
|||||||
use JsonSchema\Constraints\SchemaConstraint;
|
use JsonSchema\Constraints\SchemaConstraint;
|
||||||
use JsonSchema\Constraints\Constraint;
|
use JsonSchema\Constraints\Constraint;
|
||||||
|
|
||||||
use JsonSchema\Exception\InvalidSchemaMediaTypeException;
|
|
||||||
use JsonSchema\Exception\JsonDecodingException;
|
|
||||||
|
|
||||||
use JsonSchema\Uri\Retrievers\UriRetrieverInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A JsonSchema Constraint
|
* A JsonSchema Constraint
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user