Skip to content

Commit 1813840

Browse files
committed
Merge pull request #1194 from sstok/patch-3
fixed type hinting of Mailer
2 parents e3f8fcd + 7447614 commit 1813840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Mailer/Mailer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace FOS\UserBundle\Mailer;
1313

1414
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
15-
use Symfony\Component\Routing\RouterInterface;
15+
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
1616
use FOS\UserBundle\Model\UserInterface;
1717
use FOS\UserBundle\Mailer\MailerInterface;
1818

@@ -26,7 +26,7 @@ class Mailer implements MailerInterface
2626
protected $templating;
2727
protected $parameters;
2828

29-
public function __construct($mailer, RouterInterface $router, EngineInterface $templating, array $parameters)
29+
public function __construct($mailer, UrlGeneratorInterface $router, EngineInterface $templating, array $parameters)
3030
{
3131
$this->mailer = $mailer;
3232
$this->router = $router;

0 commit comments

Comments
 (0)