1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/stubs/pdo.phpstub
2021-04-05 18:20:59 -04:00

20 lines
395 B
Plaintext

<?php
/**
* @template TValue
*
* @template-implements Traversable<int, TValue>
*/
class PDOStatement implements Traversable
{
/**
* @psalm-taint-sink callable $class
*
* @template T
* @param class-string<T> $class
* @param array $ctorArgs
* @return false|T
*/
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
}