Skip to content

Commit

Permalink
Merge pull request #6755 from BenMorel/patch-2
Browse files Browse the repository at this point in the history
EntityManager::getReference() can return null
  • Loading branch information
lcobucci authored Oct 9, 2017
2 parents f2dc9a8 + fb7a96c commit 9e9e562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/EntityManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function createQueryBuilder();
* @param string $entityName The name of the entity type.
* @param mixed $id The entity identifier.
*
* @return object The entity reference.
* @return object|null The entity reference.
*
* @throws ORMException
*/
Expand Down

0 comments on commit 9e9e562

Please sign in to comment.