com php-src: Update method signature in test: ext/pdo_mysql/t ests/pdo_mysql_subclass.phpt
| From: | Nikita Popov | Date: | Mon, 20 Jul 2020 14:16:37 +0000 |
| Subject: | com php-src: Update method signature in test: ext/pdo_mysql/t ests/pdo_mysql_subclass.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112249@lists.php.net to get a copy of this message | ||
Commit: 9ee16a3c12bca29b1e229710ab5ed265deefc8be
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 20 Jul 2020 16:15:21 +0200
Parents: 7d3e530f4e8700a4cdfc4ff2a747d9dcb7e5e806
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9ee16a3c12bca29b1e229710ab5ed265deefc8be
Log:
Update method signature in test
Changed paths:
M ext/pdo_mysql/tests/pdo_mysql_subclass.phpt
Diff:
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) {