diff --git a/lib/Cake/Model/Datasource/Database/Postgres.php b/lib/Cake/Model/Datasource/Database/Postgres.php index 2bf200fee..c56ccf214 100644 --- a/lib/Cake/Model/Datasource/Database/Postgres.php +++ b/lib/Cake/Model/Datasource/Database/Postgres.php @@ -765,10 +765,10 @@ class Postgres extends DboSource { /** * resultSet method * - * @param array &$results The results + * @param PDOStatement $results The results * @return void */ - public function resultSet(&$results) { + public function resultSet($results) { $this->map = array(); $numFields = $results->columnCount(); $index = 0; diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 8c2383849..876284f30 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -632,7 +632,7 @@ class DboSource extends DataSource { /** * Builds a map of the columns contained in a result * - * @param array|PDOStatement $results The results to format. + * @param PDOStatement $results The results to format. * @return void */ public function resultSet($results) {