Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #19 from whiteoctober/type-hint
Browse files Browse the repository at this point in the history
Type hint on interface for flexibility.
  • Loading branch information
Sam Partington authored Jul 21, 2017
2 parents 85786ac + 6f275f2 commit 96dc657
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Service/QueueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace WhiteOctober\QueueBundle\Service;

use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;;

use Doctrine\ORM\EntityManager;

Expand All @@ -22,9 +22,9 @@ class QueueService
* Constructor
*
* @param \Doctrine\ORM\EntityManager $em
* @param EventDispatcher $dispatcher
* @param EventDispatcherInterface $dispatcher
*/
public function __construct(EntityManager $em, EventDispatcher $dispatcher)
public function __construct(EntityManager $em, EventDispatcherInterface $dispatcher)
{
$this->em = $em;
$this->dispatcher = $dispatcher;
Expand Down

0 comments on commit 96dc657

Please sign in to comment.