mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Declare PdoStatement->fetchObject($class_name) a taint sink (#4701)
* Declare PdoStatement * Change to a callable sink Co-authored-by: Matthew Brown <github@muglug.com>
This commit is contained in:
parent
3593a41060
commit
6474d7ee6c
@ -2,6 +2,8 @@
|
||||
|
||||
class PdoStatement {
|
||||
/**
|
||||
* @psalm-taint-sink callable $class
|
||||
*
|
||||
* @template T
|
||||
* @param class-string<T> $class
|
||||
* @return false|T
|
||||
|
Loading…
Reference in New Issue
Block a user