From a08bd980a99c2044a7b0b145636c545ddbabb65a Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 2 Jul 2020 21:03:30 +0300 Subject: [PATCH] Fixed PDO warnings --- src/Appwrite/Extend/PDO.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Extend/PDO.php b/src/Appwrite/Extend/PDO.php index 4eefe6bec0..aa42612e57 100644 --- a/src/Appwrite/Extend/PDO.php +++ b/src/Appwrite/Extend/PDO.php @@ -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)