Skip to content

Commit

Permalink
Event type hint fix in on listener attach
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 24, 2017
1 parent 4209713 commit bb1b2b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Listener/ForceHttps.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use ForceHttpsModule\HttpsTrait;
use Zend\Console\Console;
use Zend\EventManager\AbstractListenerAggregate;
use Zend\EventManager\Event;
use Zend\EventManager\EventManagerInterface;
use Zend\Http\PhpEnvironment\Response;
use Zend\Mvc\MvcEvent;
Expand Down Expand Up @@ -73,9 +74,9 @@ private function setHttpStrictTransportSecurity($uriScheme, $match, Response $re
/**
* Force Https Scheme handle.
*
* @param MvcEvent $e
* @param Event $e
*/
public function forceHttpsScheme(MvcEvent $e)
public function forceHttpsScheme(Event $e)
{
if (! $this->config['enable']) {
return;
Expand Down

0 comments on commit bb1b2b4

Please sign in to comment.