Skip to content

Commit

Permalink
Merge pull request #48 from dirkwinkhaus/fix-statement-connection
Browse files Browse the repository at this point in the history
use interface to be compatible
  • Loading branch information
thomasvargiu authored Apr 23, 2021
2 parents b47c714 + 6efee2b commit ff4a854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Statement extends \Doctrine\DBAL\Statement
* @param $sql
* @param Connection $conn
*/
public function __construct($sql, Connection $conn)
public function __construct($sql, ConnectionInterface $conn)
{
// Mysqli executes statement on Statement constructor, so we should retry to reconnect here too
$attempt = 0;
Expand Down

0 comments on commit ff4a854

Please sign in to comment.