mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-28 04:00:43 +02:00
Fix PHP 8.2 deprecations (#531)
* Fix deprecation: Use of "parent" in callables is deprecated * Fix deprecations in tests Creation of dynamic properties is deprecated since php 8.2
This commit is contained in:
@@ -84,7 +84,7 @@ class TraceablePDOStatement extends PDOStatement
|
||||
public function bindValue($parameter, $value, $data_type = PDO::PARAM_STR) : bool
|
||||
{
|
||||
$this->boundParameters[$parameter] = $value;
|
||||
return call_user_func_array(['parent', 'bindValue'], func_get_args());
|
||||
return parent::bindValue(...func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user