Skip to content

Commit

Permalink
Argument Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Emrecan committed Dec 24, 2020
1 parent 2f3991a commit 6be5bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotificationTransport/DoctrineTransportFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DoctrineTransportFactory implements TransportFactoryInterface
{
private $registry;

public function __construct($registry)
public function __construct(RegistryInterface $registry)
{
if (!$registry instanceof RegistryInterface && !$registry instanceof ConnectionRegistry) {
throw new \TypeError(sprintf('Expected an instance of "%s" or "%s", but got "%s".', RegistryInterface::class, ConnectionRegistry::class, get_debug_type($registry)));
Expand Down

0 comments on commit 6be5bc2

Please sign in to comment.