mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Fixed PDO warnings
This commit is contained in:
1 parent
e24a6cd52d
commit
a08bd980a9
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user