Skip to content

Commit a2f9396

Browse files
author
dark111
committed
Edited book/doctrine.rst via GitHub
1 parent 9de84d1 commit a2f9396

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
@@ -457,7 +457,7 @@ to easily fetch objects based on multiple conditions::
457457
// query for all products matching the name, ordered by price
458458
$product = $repository->findBy(
459459
array('name' => 'foo'),
460-
array('price', 'ASC')
460+
array('price' => 'ASC')
461461
);
462462

463463
.. tip::

0 commit comments

Comments
 (0)