Skip to content

Commit

Permalink
type hint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 25, 2017
1 parent bb1b2b4 commit 889adba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Listener/ForceHttps.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
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 @@ -74,9 +73,9 @@ private function setHttpStrictTransportSecurity($uriScheme, $match, Response $re
/**
* Force Https Scheme handle.
*
* @param Event $e
* @param MvcEvent $e
*/
public function forceHttpsScheme(Event $e)
public function forceHttpsScheme(MvcEvent $e)
{
if (! $this->config['enable']) {
return;
Expand Down

0 comments on commit 889adba

Please sign in to comment.