the expectation of the class was actually ``Doctrine\DBAL\Connection``, which is the public facade of Doctrine.
Given the class is throwing a fatal error if usign the internal connection instead of the public class anyway, we can fix the typehint without breaking BC. It will simplify your implementation a lot