mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 18:36:58 +01:00
20 lines
405 B
PHP
20 lines
405 B
PHP
<?php
|
|
|
|
/**
|
|
* @template TValue
|
|
*
|
|
* @template-implements Traversable<int, TValue>
|
|
*/
|
|
class PDOStatement implements Traversable
|
|
{
|
|
/**
|
|
* @psalm-taint-sink callable $class
|
|
*
|
|
* @template T of object
|
|
* @param class-string<T> $class
|
|
* @param array $ctorArgs
|
|
* @return false|T
|
|
*/
|
|
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
|
|
}
|