Skip to content

Commit 889adba

Browse files
committed
type hint fix
1 parent bb1b2b4 commit 889adba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Listener/ForceHttps.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use ForceHttpsModule\HttpsTrait;
66
use Zend\Console\Console;
77
use Zend\EventManager\AbstractListenerAggregate;
8-
use Zend\EventManager\Event;
98
use Zend\EventManager\EventManagerInterface;
109
use Zend\Http\PhpEnvironment\Response;
1110
use Zend\Mvc\MvcEvent;
@@ -74,9 +73,9 @@ private function setHttpStrictTransportSecurity($uriScheme, $match, Response $re
7473
/**
7574
* Force Https Scheme handle.
7675
*
77-
* @param Event $e
76+
* @param MvcEvent $e
7877
*/
79-
public function forceHttpsScheme(Event $e)
78+
public function forceHttpsScheme(MvcEvent $e)
8079
{
8180
if (! $this->config['enable']) {
8281
return;

0 commit comments

Comments
 (0)