Skip to content

Commit 943fa44

Browse files
committed
Merge pull request #165 from localheinz/fix/unused-imports
Fix: Remove unused imports
2 parents a9d2082 + 72e81d6 commit 943fa44

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/JsonSchema/Uri/Retrievers/PredefinedArray.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace JsonSchema\Uri\Retrievers;
44

55
use JsonSchema\Validator;
6-
use JsonSchema\Uri\Retrievers\UriRetrieverInterface;
76

87
/**
98
* URI retrieved based on a predefined array of schemas
@@ -36,7 +35,7 @@ public function __construct(array $schemas, $contentType = Validator::SCHEMA_MED
3635
$this->schemas = $schemas;
3736
$this->contentType = $contentType;
3837
}
39-
38+
4039
/**
4140
* {@inheritDoc}
4241
* @see \JsonSchema\Uri\Retrievers\UriRetrieverInterface::retrieve()
@@ -52,4 +51,4 @@ public function retrieve($uri)
5251

5352
return $this->schemas[$uri];
5453
}
55-
}
54+
}

src/JsonSchema/Validator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
use JsonSchema\Constraints\SchemaConstraint;
1313
use JsonSchema\Constraints\Constraint;
1414

15-
use JsonSchema\Exception\InvalidSchemaMediaTypeException;
16-
use JsonSchema\Exception\JsonDecodingException;
17-
18-
use JsonSchema\Uri\Retrievers\UriRetrieverInterface;
19-
2015
/**
2116
* A JsonSchema Constraint
2217
*

0 commit comments

Comments
 (0)