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

Merge pull request #6755 from BenMorel/patch-2

EntityManager::getReference() can return null
This commit is contained in:
Luís Cobucci 2017-10-09 20:05:46 +02:00 committed by GitHub
commit 9e9e5628f5

View file

@ -150,7 +150,7 @@ interface EntityManagerInterface extends ObjectManager
* @param string $entityName The name of the entity type. * @param string $entityName The name of the entity type.
* @param mixed $id The entity identifier. * @param mixed $id The entity identifier.
* *
* @return object The entity reference. * @return object|null The entity reference.
* *
* @throws ORMException * @throws ORMException
*/ */