1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00

Merge pull request #10048 from cgocast/master

Fix #100047
This commit is contained in:
orklah 2023-08-06 01:33:26 +02:00 committed by GitHub
commit efcd443340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,14 +151,8 @@ class PDOStatement implements Traversable
*/
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
/**
* @psalm-taint-sink sql $value
*/
public function bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool {}
/**
* @psalm-taint-sink sql $var
*/
public function bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool {}
}