Skip to content

Commit

Permalink
fix use RequestStack instead of Request
Browse files Browse the repository at this point in the history
  • Loading branch information
upskaling authored and Jaap Romijn committed Jun 20, 2024
1 parent aff3168 commit 4a404eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cookie/CookieChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace ConnectHolland\CookieConsentBundle\Cookie;

use ConnectHolland\CookieConsentBundle\Enum\CookieNameEnum;
use Symfony\Component\HttpFoundation\Cookie;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;

class CookieChecker
Expand Down
2 changes: 1 addition & 1 deletion Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ services:

ConnectHolland\CookieConsentBundle\Twig\CHCookieConsentTwigExtension:
arguments:
$cookieChecker: '@ConnectHolland\CookieConsentBundle\Cookie\CookieChecker'
$cookieChecker: '@ConnectHolland\CookieConsentBundle\Cookie\CookieChecker'

0 comments on commit 4a404eb

Please sign in to comment.