mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-04-24 06:15:51 +00:00
Adjust MySQL for PHP 8.4
This commit is contained in:
parent
b306f0fc29
commit
9e5c841377
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Result extends \JKingWeb\Arsse\Db\AbstractResult {
|
|||
|
||||
// constructor/destructor
|
||||
|
||||
public function __construct($result, array $changes = [0,0], Statement $statement = null) {
|
||||
public function __construct($result, array $changes = [0,0], ?Statement $statement = null) {
|
||||
$this->st = $statement; //keeps the statement from being destroyed, invalidating the result set
|
||||
$this->set = ($result instanceof \mysqli_result) ? $result : null;
|
||||
$this->rows = $changes[0];
|
||||
|
|
Loading…
Add table
Reference in a new issue