Skip to content

Commit

Permalink
fix interfaces reported by new patch of phpstan (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3tezsky authored Jan 19, 2021
1 parent 74b105b commit 2f55a9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/App/Functional/EntityExtension/EntityExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function overwriteEntityExtensionMapInServicesInContainer(array $entityEx

/**
* @param string[] $entities
* @return \Doctrine\ORM\Mapping\ClassMetadata[]
* @return \Doctrine\Persistence\Mapping\ClassMetadata[]
*/
public function getMetadata(array $entities): array
{
Expand All @@ -134,15 +134,15 @@ public function getMetadata(array $entities): array
}

/**
* @param \Doctrine\ORM\Mapping\ClassMetadata[] $metadata
* @param \Doctrine\Persistence\Mapping\ClassMetadata[] $metadata
*/
public function generateProxies(array $metadata): void
{
$this->em->getProxyFactory()->generateProxyClasses($metadata);
}

/**
* @param \Doctrine\ORM\Mapping\ClassMetadata[] $metadata
* @param \Doctrine\Persistence\Mapping\ClassMetadata[] $metadata
*/
public function updateDatabaseSchema(array $metadata): void
{
Expand Down

0 comments on commit 2f55a9d

Please sign in to comment.