DDC-882 - Bugfix with typehint
This commit is contained in:
parent
c1661dd53e
commit
a2cbb8f72f
1 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue