From 2712f11eabb0fcb4cc1af90ac926ab4bd4e0567f Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Mon, 10 Jun 2024 21:58:22 +0200 Subject: [PATCH] Fix one more signature incompatibility --- tests/Stubs/EntityManagerStub_php80.php | 11 ----------- tests/Stubs/ObjectManagerStub_php80.php | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/tests/Stubs/EntityManagerStub_php80.php b/tests/Stubs/EntityManagerStub_php80.php index 7f058e0..5a7fa94 100644 --- a/tests/Stubs/EntityManagerStub_php80.php +++ b/tests/Stubs/EntityManagerStub_php80.php @@ -13,21 +13,10 @@ namespace Tests\Orbitale\Component\ArrayFixture\Stubs; -use Doctrine\Common\EventManager; use Doctrine\DBAL\Connection; use Doctrine\DBAL\Driver; -use Doctrine\ORM\Cache; -use Doctrine\ORM\Configuration; use Doctrine\ORM\EntityManagerInterface; -use Doctrine\ORM\EntityRepository; -use Doctrine\ORM\Internal\Hydration\AbstractHydrator; -use Doctrine\ORM\NativeQuery; -use Doctrine\ORM\Proxy\ProxyFactory; -use Doctrine\ORM\Query; -use Doctrine\ORM\Query\FilterCollection; use Doctrine\ORM\Query\ResultSetMapping; -use Doctrine\ORM\QueryBuilder; -use Doctrine\ORM\UnitOfWork; class EntityManagerStub extends ObjectManagerStub implements EntityManagerInterface { diff --git a/tests/Stubs/ObjectManagerStub_php80.php b/tests/Stubs/ObjectManagerStub_php80.php index 673777f..0047526 100644 --- a/tests/Stubs/ObjectManagerStub_php80.php +++ b/tests/Stubs/ObjectManagerStub_php80.php @@ -52,7 +52,7 @@ public function flush() return $this->flushed++; } - public function getClassMetadata(string $className): ClassMetadata + public function getClassMetadata($className): ClassMetadata { return $this->metadata; }