Permalink
Browse files

Updating API docblock for Model::query()

  • Loading branch information...
1 parent 34a730d commit 7ed90c72aefa1c40638b837abc6f6d23f1da5d4a @ADmad ADmad committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Model.php
View
@@ -3001,7 +3001,7 @@ public function isUnique($fields, $or = true) {
* Returns a resultset for a given SQL statement. Custom SQL queries should be performed with this method.
*
* @param string $sql,... SQL statement
- * @return array Resultset
+ * @return mixed Resultset array or boolean indicating success / failure depending on the query executed
* @link http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query
*/
public function query($sql) {

0 comments on commit 7ed90c7

Please sign in to comment.