Skip to content

Commit

Permalink
EM: Fix PhpStan error.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Feb 7, 2021
1 parent 6279af1 commit d1803a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public function find($className, $id)
throw new \InvalidArgumentException('Entity name "' . $className . '" must be valid class name. Is your class autoloadable?');
}
try {
/** @phpstan-ignore-next-line */
return $this->em()->find($className, $id);
} catch (ORMException | OptimisticLockException | TransactionRequiredException $e) {
throw new EntityManagerException($e->getMessage(), $e->getCode(), $e);
Expand Down

0 comments on commit d1803a3

Please sign in to comment.