From 6c2463b90555759d7c8348dcc9f26a236223843e Mon Sep 17 00:00:00 2001
From: Teoh Han Hui <teohhanhui@gmail.com>
Date: Tue, 12 Apr 2016 15:05:16 +0800
Subject: [PATCH] Remove note on findBy not supporting entity

---
 docs/en/reference/working-with-objects.rst | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/en/reference/working-with-objects.rst b/docs/en/reference/working-with-objects.rst
index 4e11341a3..8368c9f13 100644
--- a/docs/en/reference/working-with-objects.rst
+++ b/docs/en/reference/working-with-objects.rst
@@ -699,8 +699,6 @@ You can also load by owning side associations through the repository:
     $number = $em->find('MyProject\Domain\Phonenumber', 1234);
     $user = $em->getRepository('MyProject\Domain\User')->findOneBy(array('phone' => $number->getId()));
 
-Be careful that this only works by passing the ID of the associated entity, not yet by passing the associated entity itself.
-
 The ``EntityRepository#findBy()`` method additionally accepts orderings, limit and offset as second to fourth parameters:
 
 .. code-block:: php