1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-25 18:51:42 +02:00

Fix PHP 8.2 deprecations (#579)

This commit is contained in:
erikn69
2023-10-12 03:10:52 -05:00
committed by GitHub
parent 376ff32ee5
commit 03dd40a182

View File

@@ -44,7 +44,7 @@ class TraceablePDOStatement extends PDOStatement
{
$this->boundParameters[$column] = $param;
$args = array_merge([$column, &$param], array_slice(func_get_args(), 2));
return call_user_func_array(['parent', 'bindColumn'], $args);
return parent::bindColumn(...$args);
}
/**
@@ -66,7 +66,7 @@ class TraceablePDOStatement extends PDOStatement
{
$this->boundParameters[$parameter] = $variable;
$args = array_merge([$parameter, &$variable], array_slice(func_get_args(), 2));
return call_user_func_array(['parent', 'bindParam'], $args);
return parent::bindParam(...$args);
}
/**