Skip to content

Commit 9ee16a3

Browse files
committed
Update method signature in test
1 parent 7d3e530 commit 9ee16a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo_mysql/tests/pdo_mysql_subclass.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ MySQLPDOTest::skip();
2424
return parent::exec($statement);
2525
}
2626

27-
public function query($statement) {
27+
public function query(...$args) {
2828
$this->protocol();
29-
return call_user_func_array(array($this, 'parent::query'), func_get_args());
29+
return parent::query(...$args);
3030
}
3131

3232
public function __call($method, $args) {

0 commit comments

Comments
 (0)