Skip to content

Commit

Permalink
d10: Implements d10 upgrade changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponkiwonki committed Jul 24, 2023
1 parent e154b55 commit 1b6fa0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/EventSubscriber/SetCookieSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Drupal\wmusersnap\UsersnapInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpKernel\Event\ResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;

class SetCookieSubscriber implements EventSubscriberInterface
Expand All @@ -26,7 +26,7 @@ public static function getSubscribedEvents(): array
return $events;
}

public function setUsersnapCookie(FilterResponseEvent $event): void
public function setUsersnapCookie(ResponseEvent $event): void
{
$response = $event->getResponse();

Expand Down
1 change: 0 additions & 1 deletion wmusersnap.info.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Usersnap
type: module
description: Integrate the Usersnap feedback widget with your Drupal website
core: 8.x
core_version_requirement: ^9.2 || ^10
package: Wieni
dependencies:
Expand Down

0 comments on commit 1b6fa0d

Please sign in to comment.