X
Xon
Guest
Guest or Bot
PHP:
Tracing from
Read more
Continue reading...
Code:
while ($row = $results->fetchAliasGrouped())
{
$entity = $this->em->hydrateFromGrouped($row, $map);
$id = $keyedBy ? $keyedBy($entity) : $entity->getIdentifier();
Tracing from
hydrateFromGrouped, instantiateEntity can return null which may cause hydrateFromGrouped to return null in a wonky edge case. That will make the call to Entity::getIdentifier() fail and really doesn't make any sense to pass to $keyedBy which probably expects the argument...Read more
Continue reading...
H
M