Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge 14a3fb2 into c05ab11
Browse files Browse the repository at this point in the history
  • Loading branch information
jo66 committed Mar 25, 2020
2 parents c05ab11 + 14a3fb2 commit a381dd4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Event/DoctrineBackendOptimizeListener.php
Expand Up @@ -14,7 +14,6 @@
namespace Sonata\NotificationBundle\Event;

use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\Persistence\ManagerRegistry;

/**
* Doctrine context optimizer
Expand All @@ -29,7 +28,7 @@ class DoctrineBackendOptimizeListener implements IterationListener
*/
protected $doctrine;

public function __construct(ManagerRegistry $doctrine)
public function __construct(Registry $doctrine)
{
$this->doctrine = $doctrine;
}
Expand Down

0 comments on commit a381dd4

Please sign in to comment.