Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Annotation/Wizard/AnnotationHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Ibrows\Bundle\NewsletterBundle\Annotation\Wizard;

use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
use Symfony\Bundle\FrameworkBundle\Routing\Router;
use Symfony\Component\Routing\RouterInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;

Expand All @@ -16,7 +16,7 @@ class AnnotationHandler
protected $currentAnnotation;
protected $currentAnnotationKey;

public function __construct(Router $router)
public function __construct(RouterInterface $router)
{
$this->router = $router;
}
Expand Down Expand Up @@ -155,4 +155,4 @@ public function getStepUrl(Annotation $annotation)

throw new \InvalidArgumentException("No route found");
}
}
}