From: Nikita Popov Date: Mon, 20 Jul 2020 14:15:21 +0000 (+0200) Subject: Update method signature in test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ee16a3c12bca29b1e229710ab5ed265deefc8be;p=php Update method signature in test --- 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) {