From 9ee16a3c12bca29b1e229710ab5ed265deefc8be Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 20 Jul 2020 16:15:21 +0200 Subject: [PATCH] Update method signature in test --- ext/pdo_mysql/tests/pdo_mysql_subclass.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt index f98271d792..0a996be8f5 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_subclass.phpt @@ -24,9 +24,9 @@ MySQLPDOTest::skip(); return parent::exec($statement); } - public function query($statement) { + public function query(...$args) { $this->protocol(); - return call_user_func_array(array($this, 'parent::query'), func_get_args()); + return parent::query(...$args); } public function __call($method, $args) { -- 2.40.0