Skip to content

Commit

Permalink
Fix one more signature incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Jun 10, 2024
1 parent 1a04e78 commit 2712f11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions tests/Stubs/EntityManagerStub_php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Stubs/ObjectManagerStub_php80.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function flush()
return $this->flushed++;
}

public function getClassMetadata(string $className): ClassMetadata
public function getClassMetadata($className): ClassMetadata
{
return $this->metadata;
}
Expand Down

0 comments on commit 2712f11

Please sign in to comment.