mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix resultSet() method signature
This commit is contained in:
parent
c5d78b6302
commit
2aa8fac574
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue