Update return types.

This commit is contained in:
mark_story 2013-05-21 15:45:22 -04:00
parent 28a3b73bdc
commit 408aac4798

View file

@ -641,7 +641,6 @@ class DboSource extends DataSource {
* Returns an array of all result rows for a given SQL query. * Returns an array of all result rows for a given SQL query.
* Returns false if no rows matched. * Returns false if no rows matched.
* *
*
* ### Options * ### Options
* *
* - `cache` - Returns the cached version of the query, if exists and stores the result in cache. * - `cache` - Returns the cached version of the query, if exists and stores the result in cache.
@ -652,7 +651,7 @@ class DboSource extends DataSource {
* @param string $sql SQL statement * @param string $sql SQL statement
* @param array $params parameters to be bound as values for the SQL statement * @param array $params parameters to be bound as values for the SQL statement
* @param array $options additional options for the query. * @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()) { public function fetchAll($sql, $params = array(), $options = array()) {
if (is_string($options)) { if (is_string($options)) {