2020-11-25 18:08:04 +01:00
|
|
|
<?php
|
|
|
|
|
2021-04-06 00:20:59 +02:00
|
|
|
/**
|
|
|
|
* @template TValue
|
|
|
|
*
|
|
|
|
* @template-implements Traversable<int, TValue>
|
|
|
|
*/
|
|
|
|
class PDOStatement implements Traversable
|
|
|
|
{
|
2020-11-25 18:08:04 +01:00
|
|
|
/**
|
2020-11-25 21:50:19 +01:00
|
|
|
* @psalm-taint-sink callable $class
|
|
|
|
*
|
2020-11-25 18:08:04 +01:00
|
|
|
* @template T
|
|
|
|
* @param class-string<T> $class
|
2020-12-31 01:59:10 +01:00
|
|
|
* @param array $ctorArgs
|
2020-11-25 18:08:04 +01:00
|
|
|
* @return false|T
|
|
|
|
*/
|
2021-01-27 03:33:52 +01:00
|
|
|
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
|
2020-11-25 18:08:04 +01:00
|
|
|
}
|