Skip to content

Commit 0c20141

Browse files
committed
minor #3896 Fixing comment typo for Doctrine findBy and findOneBy code 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
2 parents 3387cb2 + a97991b commit 0c20141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ Once you have your repository, you have access to all sorts of helpful methods::
631631
You can also take advantage of the useful ``findBy`` and ``findOneBy`` methods
632632
to easily fetch objects based on multiple conditions::
633633

634-
// query for one product matching be name and price
634+
// query for one product matching by name and price
635635
$product = $repository->findOneBy(
636636
array('name' => 'foo', 'price' => 19.99)
637637
);

0 commit comments

Comments
 (0)