1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

mysqli_fetch_object: added missing generic

This commit is contained in:
Markus Staab 2021-12-29 16:50:38 +01:00 committed by GitHub
parent 10167a223a
commit dd245f0dc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,9 @@ class mysqli_result implements Traversable
* @psalm-taint-sink callable $class
*
* @template T of object
* @template TValue
*
* @param mysqli_result<TValue> $result
* @param class-string<T> $class
* @param array $constructor_args
* @return T|null|false