Skip to content

Commit

Permalink
System: fix the PHP 8 fix so it's PHP 7.x compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Jan 22, 2021
1 parent b566195 commit b954125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Contracts/Database/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function fetch(int $mode = \PDO::FETCH_BOTH, int $cursorOrientation = \PD
* @param array|null $ctor_args
* @return array
*/
public function fetchAll(int $fetch_style = \PDO::FETCH_BOTH, mixed $fetch_argument = null, array $ctor_args = []);
public function fetchAll(int $fetch_style = \PDO::FETCH_BOTH, $fetch_argument = null, array $ctor_args = []);

/**
* Returns a single column from the next row of a result set.
Expand Down Expand Up @@ -103,7 +103,7 @@ public function fetchKeyPair();
* @param mixed|null $params
* @return boolean
*/
public function setFetchMode(int $mode, mixed ...$args);
public function setFetchMode(int $mode, $args = []);

/**
* Fetches all results and returns it as a DataSet object.
Expand Down

0 comments on commit b954125

Please sign in to comment.