Permalink
Browse files

minor #3896 Fixing comment typo for Doctrine findBy and findOneBy cod…

…e example (beenanner)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixing comment typo for Doctrine findBy and findOneBy code example

| Q                 | A
| --------------- | ---
| Doc fix?        | yes
| New docs?   | no
| Applies to     | all (or 2.3+)
| Fixed tickets | N/A

Commits
-------

a97991b Fixing comment typo for Doctrine findBy and findOneBy code example
  • Loading branch information...
weaverryan committed Jun 7, 2014
2 parents 3387cb2 + a97991b commit 0c2014162aec345fc2665602ab0b0380cb50fe57
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)
);

0 comments on commit 0c20141

Please sign in to comment.