Skip to content

Commit a581958

Browse files
committed
Merge pull request symfony#577 from dark111/patch-1
Edited book/doctrine.rst via GitHub
2 parents d97f1fb + a2f9396 commit a581958

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
@@ -462,7 +462,7 @@ to easily fetch objects based on multiple conditions::
462462
// query for all products matching the name, ordered by price
463463
$product = $repository->findBy(
464464
array('name' => 'foo'),
465-
array('price', 'ASC')
465+
array('price' => 'ASC')
466466
);
467467

468468
.. tip::

0 commit comments

Comments
 (0)