From 3de9c68830d2efd1e6eb341a94108c67dcf99657 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 3 Jan 2022 17:11:03 +0100 Subject: [PATCH] pdo: more precise generic type --- stubs/pdo.phpstub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/pdo.phpstub b/stubs/pdo.phpstub index c27166d3514..0abf5053353 100644 --- a/stubs/pdo.phpstub +++ b/stubs/pdo.phpstub @@ -10,7 +10,7 @@ class PDOStatement implements Traversable /** * @psalm-taint-sink callable $class * - * @template T + * @template T of object * @param class-string $class * @param array $ctorArgs * @return false|T