1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Document getPartialReference() properly

According to the current implementation that method also returns `null`,
however the interface's documentation was incorrect.

Ref: https://github.com/doctrine/doctrine2/blob/v2.6.2/lib/Doctrine/ORM/EntityManager.php#L514-L516
This commit is contained in:
Luís Cobucci 2018-08-18 14:42:25 +02:00
parent f1143f591f
commit 7b64b4a207
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -174,7 +174,7 @@ interface EntityManagerInterface extends ObjectManager
* @param string $entityName The name of the entity type.
* @param mixed $identifier The entity identifier.
*
* @return object The (partial) entity reference.
* @return object|null The (partial) entity reference.
*/
public function getPartialReference($entityName, $identifier);