Skip to content

Commit

Permalink
Merge pull request #146 from 2e3s/connection-prepare-return
Browse files Browse the repository at this point in the history
Fix Connection::prepare() return type
  • Loading branch information
orklah authored Jul 14, 2023
2 parents d77df78 + 683fc83 commit ae11594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Connection.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae11594

Please sign in to comment.