From a97991b84984790999ddd178156a139bed6560f9 Mon Sep 17 00:00:00 2001 From: beenanner Date: Thu, 29 May 2014 15:19:52 -0400 Subject: [PATCH] Fixing comment typo for Doctrine findBy and findOneBy code example --- book/doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/doctrine.rst b/book/doctrine.rst index 880bff8a54f..2867101e8d5 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -631,7 +631,7 @@ Once you have your repository, you have access to all sorts of helpful methods:: You can also take advantage of the useful ``findBy`` and ``findOneBy`` methods to easily fetch objects based on multiple conditions:: - // query for one product matching be name and price + // query for one product matching by name and price $product = $repository->findOneBy( array('name' => 'foo', 'price' => 19.99) );