1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Fixed PDO warnings

This commit is contained in:
Eldad Fux 2020-07-02 21:03:30 +03:00
parent e24a6cd52d
commit a08bd980a9

View file

@ -49,9 +49,9 @@ class PDO extends PDONative
return $this->pdo->setAttribute($attribute, $value);
}
public function prepare($statement, array $driver_options = [])
public function prepare($statement, $driver_options = NULL)
{
return new PDOStatement($this, $this->pdo->prepare($statement, $driver_options));
return new PDOStatement($this, $this->pdo->prepare($statement, []));
}
public function quote($string, $parameter_type = PDONative::PARAM_STR)