Skip to content
Permalink
Browse files

Update return types.

  • Loading branch information...
markstory committed May 21, 2013
1 parent 28a3b73 commit 408aac47986206ebf9d329f21526e3dc3cdce31f
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Cake/Model/Datasource/DboSource.php
@@ -641,7 +641,6 @@ public function fetchRow($sql = null) {
* Returns an array of all result rows for a given SQL query.
* Returns false if no rows matched.
*
*
* ### Options
*
* - `cache` - Returns the cached version of the query, if exists and stores the result in cache.
@@ -652,7 +651,7 @@ public function fetchRow($sql = null) {
* @param string $sql SQL statement
* @param array $params parameters to be bound as values for the SQL statement
* @param array $options additional options for the query.
* @return array Array of resultset rows, or false if no rows matched
* @return boolean|array Array of resultset rows, or false if no rows matched
*/
public function fetchAll($sql, $params = array(), $options = array()) {
if (is_string($options)) {

0 comments on commit 408aac4

Please sign in to comment.
You can’t perform that action at this time.