From 90f187dbf2a061e8af441b88f0ac5630cbcc80ce Mon Sep 17 00:00:00 2001 From: Vassyli Date: Mon, 21 Dec 2020 19:21:25 +0100 Subject: [PATCH] Doctrine: Fixed class reference to ClassMetadata --- src/Tools/OneToManyCollection.php | 2 +- tests/OneToManyCollectionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tools/OneToManyCollection.php b/src/Tools/OneToManyCollection.php index 90693a1..03f40fc 100644 --- a/src/Tools/OneToManyCollection.php +++ b/src/Tools/OneToManyCollection.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace LotGD\Core\Tools; use Doctrine\Common\Collections\Collection; -use Doctrine\Common\Persistence\Mapping\ClassMetadata; +use Doctrine\Persistence\Mapping\ClassMetadata; use Doctrine\ORM\EntityManagerInterface; use LotGD\Core\Exceptions\ClassNotFoundException; diff --git a/tests/OneToManyCollectionTest.php b/tests/OneToManyCollectionTest.php index 39cd73b..0f08d4a 100644 --- a/tests/OneToManyCollectionTest.php +++ b/tests/OneToManyCollectionTest.php @@ -3,7 +3,7 @@ declare(strict_types=1); namespace LotGD\Core\Tests\Models; -use Doctrine\Common\Persistence\Mapping\ClassMetadata; +use Doctrine\Persistence\Mapping\ClassMetadata; use LotGD\Core\Models\GameConfigurationElement; use LotGD\Core\Tools\OneToManyCollection;