diff --git a/src/Mapping/MetadataCache.php b/src/Mapping/MetadataCache.php index abac4ab..7f45f40 100644 --- a/src/Mapping/MetadataCache.php +++ b/src/Mapping/MetadataCache.php @@ -45,7 +45,7 @@ public function getClassMetadata(ReflectionClass $reflectionClass, callable $loa } /** - * @throws MappingException when the model is already mapped by another class. + * @throws MappingException when the model is already mapped by another class */ public function registerModelClassMetadata(string $modelName, ReflectionClass $reflectionClass): void { diff --git a/src/Schema/Schema.php b/src/Schema/Schema.php index 9ee2adf..2df2b37 100644 --- a/src/Schema/Schema.php +++ b/src/Schema/Schema.php @@ -3,7 +3,6 @@ namespace Ang3\Component\Odoo\ORM\Schema; use Ang3\Component\Odoo\ORM\ObjectManager; -use Psr\Cache\InvalidArgumentException; use RuntimeException; use Symfony\Component\Serializer\Normalizer\PropertyNormalizer; diff --git a/src/Schema/SchemaCache.php b/src/Schema/SchemaCache.php index 268a788..45aaa48 100644 --- a/src/Schema/SchemaCache.php +++ b/src/Schema/SchemaCache.php @@ -59,4 +59,4 @@ public function getSchema(): Schema { return $this->schema; } -} \ No newline at end of file +}