mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 09:19:40 +01:00
8a0feaffa9
* Declare PdoStatement * Change to a callable sink Co-authored-by: Matthew Brown <github@muglug.com>
13 lines
229 B
PHP
13 lines
229 B
PHP
<?php
|
|
|
|
class PdoStatement {
|
|
/**
|
|
* @psalm-taint-sink callable $class
|
|
*
|
|
* @template T
|
|
* @param class-string<T> $class
|
|
* @return false|T
|
|
*/
|
|
public function fetchObject($class = "stdclass") {}
|
|
}
|