From c1235bfb7cfd1babba61482b29ed73450e9c790c Mon Sep 17 00:00:00 2001 From: Mukul Kolpe Date: Thu, 7 Oct 2021 02:53:58 +0530 Subject: [PATCH] Fixed PSR issues in the Extend(src\Appwrite) library --- src/Appwrite/Extend/PDO.php | 4 ++-- src/Appwrite/Extend/PDOStatement.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Appwrite/Extend/PDO.php b/src/Appwrite/Extend/PDO.php index 72f9f37ac3..6d54bcf3f0 100644 --- a/src/Appwrite/Extend/PDO.php +++ b/src/Appwrite/Extend/PDO.php @@ -49,7 +49,7 @@ class PDO extends PDONative return $this->pdo->setAttribute($attribute, $value); } - public function prepare($statement, $driver_options = NULL) + public function prepare($statement, $driver_options = null) { return new PDOStatement($this, $this->pdo->prepare($statement, [])); } @@ -71,4 +71,4 @@ class PDO extends PDONative return $this->pdo; } -} \ No newline at end of file +} diff --git a/src/Appwrite/Extend/PDOStatement.php b/src/Appwrite/Extend/PDOStatement.php index c1a60f6a3a..3dc7a4aa1d 100644 --- a/src/Appwrite/Extend/PDOStatement.php +++ b/src/Appwrite/Extend/PDOStatement.php @@ -100,10 +100,10 @@ class PDOStatement extends PDOStatementNative /** * Fetch All - * + * * @param int $fetch_style * @param mixed $fetch_args - * + * * @return array|false */ public function fetchAll(int $fetch_style = PDO::FETCH_BOTH, mixed ...$fetch_args) @@ -112,4 +112,4 @@ class PDOStatement extends PDOStatementNative return $result; } -} \ No newline at end of file +}