mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
6474d7ee6c
* 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") {}
|
|
}
|