Skip to content

Commit

Permalink
Merge pull request #87 from Nyholm/firewall-listener
Browse files Browse the repository at this point in the history
Remove deprecation notice from sf 4.3
  • Loading branch information
spideyfusion authored Jul 27, 2019
2 parents 8cac928 + 2d9a949 commit 601d482
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Security/Firewall/OAuth2Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ public function __construct(
}

/**
* {@inheritdoc}
* BC layer for Symfony < 4.3
*/
public function handle(GetResponseEvent $event)
{
$this->__invoke($event);
}

public function __invoke(GetResponseEvent $event)
{
$request = $this->httpMessageFactory->createRequest($event->getRequest());

Expand Down

0 comments on commit 601d482

Please sign in to comment.