From a2abbed07e7b5fab8ccf6502b59a5d759ac46f34 Mon Sep 17 00:00:00 2001 From: mparulski Date: Mon, 1 Dec 2014 17:17:23 +0100 Subject: [PATCH] Update RedirectStrategy.php Change of constructor parameter "authenticationService" type on Zend\Authentication\AuthenticationServiceInterface. --- src/ZfcRbac/View/Strategy/RedirectStrategy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZfcRbac/View/Strategy/RedirectStrategy.php b/src/ZfcRbac/View/Strategy/RedirectStrategy.php index 5110d11..093232b 100644 --- a/src/ZfcRbac/View/Strategy/RedirectStrategy.php +++ b/src/ZfcRbac/View/Strategy/RedirectStrategy.php @@ -18,7 +18,7 @@ namespace ZfcRbac\View\Strategy; -use Zend\Authentication\AuthenticationService; +use Zend\Authentication\AuthenticationServiceInterface; use Zend\Http\Response as HttpResponse; use Zend\Mvc\MvcEvent; use ZfcRbac\Exception\UnauthorizedExceptionInterface; @@ -48,7 +48,7 @@ class RedirectStrategy extends AbstractStrategy * @param RedirectStrategyOptions $options * @param AuthenticationService $authenticationService */ - public function __construct(RedirectStrategyOptions $options, AuthenticationService $authenticationService) + public function __construct(RedirectStrategyOptions $options, AuthenticationServiceInterface $authenticationService) { $this->options = $options; $this->authenticationService = $authenticationService;