Skip to content

Commit

Permalink
The $order param allows both a string and array
Browse files Browse the repository at this point in the history
  • Loading branch information
WrDX committed Jun 6, 2018
1 parent fc061a5 commit a57b4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Model.php
Expand Up @@ -1648,7 +1648,7 @@ public function read($fields = null, $id = null) {
*
* @param string $name The name of the field to get.
* @param array $conditions SQL conditions (defaults to NULL).
* @param string $order SQL ORDER BY fragment.
* @param string|array $order SQL ORDER BY fragment.
* @return string|false Field content, or false if not found.
* @link https://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-field
*/
Expand Down

0 comments on commit a57b4c3

Please sign in to comment.