1
0
mirror of synced 2025-02-07 15:59:27 +03:00

#1001 DDC-3005 - Minor CS fixes in HydrationCompleteHandler

This commit is contained in:
Marco Pivetta 2015-01-13 00:33:15 +01:00
parent 89530f88f7
commit 7b81cfb6ea

View File

@ -36,20 +36,26 @@ use Doctrine\ORM\Events;
*/ */
final class HydrationCompleteHandler final class HydrationCompleteHandler
{ {
/** @var \Doctrine\ORM\Event\ListenersInvoker */ /**
* @var ListenersInvoker
*/
private $listenersInvoker; private $listenersInvoker;
/** @var \Doctrine\ORM\EntityManagerInterface */ /**
* @var EntityManagerInterface
*/
private $em; private $em;
/** @var array */ /**
* @var array[]
*/
private $deferredPostLoadInvocations = array(); private $deferredPostLoadInvocations = array();
/** /**
* Constructor for this object * Constructor for this object
* *
* @param \Doctrine\ORM\Event\ListenersInvoker $listenersInvoker * @param ListenersInvoker $listenersInvoker
* @param \Doctrine\ORM\EntityManagerInterface $em * @param EntityManagerInterface $em
*/ */
public function __construct(ListenersInvoker $listenersInvoker, EntityManagerInterface $em) public function __construct(ListenersInvoker $listenersInvoker, EntityManagerInterface $em)
{ {
@ -61,7 +67,7 @@ final class HydrationCompleteHandler
* Method schedules invoking of postLoad entity to the very end of current hydration cycle. * Method schedules invoking of postLoad entity to the very end of current hydration cycle.
* *
* @param ClassMetadata $class * @param ClassMetadata $class
* @param object $entity * @param object $entity
*/ */
public function deferPostLoadInvoking(ClassMetadata $class, $entity) public function deferPostLoadInvoking(ClassMetadata $class, $entity)
{ {