1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

DDC-882 - Bugfix with typehint

This commit is contained in:
Benjamin Eberlei 2010-11-18 20:45:44 +01:00
parent c1661dd53e
commit a2cbb8f72f

View file

@ -4,7 +4,7 @@ namespace Doctrine\ORM\Event;
use Doctrine\Common\EventArgs; use Doctrine\Common\EventArgs;
use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Mapping\ClassMetadataInfo;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
/** /**
@ -26,17 +26,17 @@ class LoadClassMetadataEventArgs extends EventArgs
private $em; private $em;
/** /**
* @param ClassMetadata $classMetadata * @param ClassMetadataInfo $classMetadata
* @param EntityManager $em * @param EntityManager $em
*/ */
public function __construct(ClassMetadata $classMetadata, EntityManager $em) public function __construct(ClassMetadataInfo $classMetadata, EntityManager $em)
{ {
$this->classMetadata = $classMetadata; $this->classMetadata = $classMetadata;
$this->em = $em; $this->em = $em;
} }
/** /**
* @return ClassMetadata * @return ClassMetadataInfo
*/ */
public function getClassMetadata() public function getClassMetadata()
{ {