From e5c5cb0a25b50bfe8e87edb7bdc692f04b82ace1 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Tue, 27 Oct 2020 08:34:02 +0200 Subject: [PATCH] Updated PDO PHP8 signature --- src/Appwrite/Extend/PDOStatement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Extend/PDOStatement.php b/src/Appwrite/Extend/PDOStatement.php index a752f9f27f..a000bdedca 100644 --- a/src/Appwrite/Extend/PDOStatement.php +++ b/src/Appwrite/Extend/PDOStatement.php @@ -98,7 +98,7 @@ class PDOStatement extends PDOStatementNative return $result; } - public function fetchAll($how = null, $class_name = null, $ctor_args = null) + public function fetchAll(int $fetch_style = PDO::FETCH_BOTH, mixed ...$fetch_args) { $result = $this->PDOStatement->fetchAll();