mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
PHP 8.0: TraceablePDO adding query arguments (#460)
* php 8 fix * Update TraceablePDO.php
This commit is contained in:
parent
c86c717e4b
commit
6d51ee9e94
@ -140,10 +140,12 @@ class TraceablePDO extends PDO
|
||||
*
|
||||
* @link http://php.net/manual/en/pdo.query.php
|
||||
* @param string $statement
|
||||
* @param int $fetchMode
|
||||
* @param mixed ...$fetchModeArgs
|
||||
* @return TraceablePDOStatement|bool PDO::query returns a PDOStatement object, or FALSE on
|
||||
* failure.
|
||||
*/
|
||||
public function query($statement)
|
||||
public function query($statement, $fetchMode = null, ...$fetchModeArgs)
|
||||
{
|
||||
return $this->profileCall('query', $statement, func_get_args());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user