Fix resultSet() method signature

This commit is contained in:
Val Bancer 2018-08-26 01:58:56 +02:00
parent c5d78b6302
commit 2aa8fac574
2 changed files with 3 additions and 3 deletions

View file

@ -765,10 +765,10 @@ class Postgres extends DboSource {
/** /**
* resultSet method * resultSet method
* *
* @param array &$results The results * @param PDOStatement $results The results
* @return void * @return void
*/ */
public function resultSet(&$results) { public function resultSet($results) {
$this->map = array(); $this->map = array();
$numFields = $results->columnCount(); $numFields = $results->columnCount();
$index = 0; $index = 0;

View file

@ -632,7 +632,7 @@ class DboSource extends DataSource {
/** /**
* Builds a map of the columns contained in a result * 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 * @return void
*/ */
public function resultSet($results) { public function resultSet($results) {