Skip to content

Commit 32d2c07

Browse files
committed
#984 Symfony 4.4 compatibility
1 parent 3374d2f commit 32d2c07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: pkg/enqueue/Doctrine/DoctrineConnectionFactoryFactory.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
namespace Enqueue\Doctrine;
44

5+
use Doctrine\Bundle\DoctrineBundle\Registry;
56
use Enqueue\ConnectionFactoryFactoryInterface;
67
use Enqueue\Dbal\ManagerRegistryConnectionFactory;
78
use Enqueue\Dsn\Dsn;
89
use Interop\Queue\ConnectionFactory;
9-
use Symfony\Bridge\Doctrine\RegistryInterface;
1010

1111
class DoctrineConnectionFactoryFactory implements ConnectionFactoryFactoryInterface
1212
{
1313
/**
14-
* @var RegistryInterface
14+
* @var Registry
1515
*/
1616
private $doctrine;
1717

@@ -20,7 +20,7 @@ class DoctrineConnectionFactoryFactory implements ConnectionFactoryFactoryInterf
2020
*/
2121
private $fallbackFactory;
2222

23-
public function __construct(RegistryInterface $doctrine, ConnectionFactoryFactoryInterface $fallbackFactory)
23+
public function __construct(Registry $doctrine, ConnectionFactoryFactoryInterface $fallbackFactory)
2424
{
2525
$this->doctrine = $doctrine;
2626
$this->fallbackFactory = $fallbackFactory;

0 commit comments

Comments
 (0)