Skip to content

Commit bb1b2b4

Browse files
committed
Event type hint fix in on listener attach
1 parent 4209713 commit bb1b2b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Listener/ForceHttps.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use ForceHttpsModule\HttpsTrait;
66
use Zend\Console\Console;
77
use Zend\EventManager\AbstractListenerAggregate;
8+
use Zend\EventManager\Event;
89
use Zend\EventManager\EventManagerInterface;
910
use Zend\Http\PhpEnvironment\Response;
1011
use Zend\Mvc\MvcEvent;
@@ -73,9 +74,9 @@ private function setHttpStrictTransportSecurity($uriScheme, $match, Response $re
7374
/**
7475
* Force Https Scheme handle.
7576
*
76-
* @param MvcEvent $e
77+
* @param Event $e
7778
*/
78-
public function forceHttpsScheme(MvcEvent $e)
79+
public function forceHttpsScheme(Event $e)
7980
{
8081
if (! $this->config['enable']) {
8182
return;

0 commit comments

Comments
 (0)