From a2cbb8f72f98580264ca9984a327c04c3b1910c1 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Thu, 18 Nov 2010 20:45:44 +0100 Subject: [PATCH] DDC-882 - Bugfix with typehint --- lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php b/lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php index 15ea0799a..f00520a20 100644 --- a/lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php +++ b/lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php @@ -4,7 +4,7 @@ namespace Doctrine\ORM\Event; use Doctrine\Common\EventArgs; -use Doctrine\ORM\Mapping\ClassMetadata; +use Doctrine\ORM\Mapping\ClassMetadataInfo; use Doctrine\ORM\EntityManager; /** @@ -26,17 +26,17 @@ class LoadClassMetadataEventArgs extends EventArgs private $em; /** - * @param ClassMetadata $classMetadata + * @param ClassMetadataInfo $classMetadata * @param EntityManager $em */ - public function __construct(ClassMetadata $classMetadata, EntityManager $em) + public function __construct(ClassMetadataInfo $classMetadata, EntityManager $em) { $this->classMetadata = $classMetadata; $this->em = $em; } /** - * @return ClassMetadata + * @return ClassMetadataInfo */ public function getClassMetadata() {