Skip to content

Commit

Permalink
minor #3896 Fixing comment typo for Doctrine findBy and findOneBy cod…
Browse files Browse the repository at this point in the history
…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 0c20141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
Expand Down

0 comments on commit 0c20141

Please sign in to comment.