Please sign in to comment.
minor #32354 [Messenger] Use ConnectionRegistry instead of RegistryIn…
…terface (derrabus) This PR was merged into the 4.4 branch. Discussion ---------- [Messenger] Use ConnectionRegistry instead of RegistryInterface | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A This PR changes the constructor type-hint on `DoctrineTransportFactory` from `Symfony\Bridge\Doctrine\RegistryInterface` to the smaller `Doctrine\Common\Persistence\ConnectionRegistry`. Since we only call the `getConnection()` method, this interface is sufficient. This change allows to use the factory without the Doctrine bridge and makes it easier to use it stand-alone. Commits ------- ce6a5ad Use ConnectionRegistry instead of RegistryInterface.
- Loading branch information...
Showing with 6 additions and 7 deletions.