From 683fc83ae51850160f6c5b58455e4cf28e9ddb22 Mon Sep 17 00:00:00 2001 From: 2e3s <2e3s19@gmail.com> Date: Thu, 13 Jul 2023 21:13:31 -0400 Subject: [PATCH] Fix Connection::prepare() return type --- stubs/Connection.phpstub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Connection.phpstub b/stubs/Connection.phpstub index 79fdb8c..58e77ac 100644 --- a/stubs/Connection.phpstub +++ b/stubs/Connection.phpstub @@ -45,7 +45,7 @@ class Connection implements DriverConnection * @throws DBALException * @psalm-taint-sink sql $statement */ - public function prepare(string $statement): DriverStatement {} + public function prepare(string $statement): Statement {} /** * @psalm-taint-sink sql $statement