This is incompatible with PDO class and results in an error with Doctrine\DBAL\Driver\PDOConnection which extends PDO and implements Doctrine\DBAL\Driver\Connection.
```
Declaration of Doctrine\\DBAL\\Driver\\PDOConnection::prepare() must be compatible with that of Doctrine\\DBAL\\Driver\\Connection::prepare()`