[FrameworkBundle] Fixed undefined $response variable in ProfilerListener
This commit is contained in:
parent
cd3e184b76
commit
c56a803b8a
@ -79,6 +79,8 @@ class ProfilerListener
|
||||
*/
|
||||
public function filterCoreResponse(FilterResponseEvent $event)
|
||||
{
|
||||
$response = $event->getResponse();
|
||||
|
||||
if (null !== $this->matcher && !$this->matcher->matches($event->getRequest())) {
|
||||
return $response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user