Skip to content

Commit

Permalink
fix: proper arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
podarok committed May 1, 2023
1 parent 6addffd commit 20176fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openy_hf/src/EventSubscriber/ResponseEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Drupal\openy_hf\EventSubscriber;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\ResponseEvent;

/**
* Class ResponseEventSubscriber.
Expand All @@ -26,10 +26,10 @@ public static function getSubscribedEvents() {
/**
* Event callback onRespond.
*
* @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event
* @param Symfony\Component\HttpKernel\Event\ResponseEvent $event
* Event.
*/
public function onRespond(FilterResponseEvent $event) {
public function onRespond(ResponseEvent $event) {
$remove_header = FALSE;
$response = $event->getResponse();
$routes = ['openy_hf.header', 'openy_hf.footer'];
Expand Down

0 comments on commit 20176fb

Please sign in to comment.