Skip to content

Commit dd12f53

Browse files
committed
[OP-551] Adjust dependencies and a register missing bundle
1 parent 322d9c9 commit dd12f53

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Voter/WishlistVoter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Sylius\Component\Core\Model\ShopUserInterface;
1616
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
1717
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
18-
use Symfony\Component\Security\Core\Security;
18+
use Symfony\Bundle\SecurityBundle\Security;
1919

2020
final class WishlistVoter extends Voter
2121
{

tests/Application/config/bundles.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
Sylius\Abstraction\StateMachine\SyliusStateMachineAbstractionBundle::class => ['all' => true],
5858
ApiPlatform\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
5959
Sylius\TwigHooks\SyliusTwigHooksBundle::class => ['all' => true],
60+
Sylius\TwigExtra\Symfony\SyliusTwigExtraBundle::class => ['all' => true],
6061
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
6162
Symfony\UX\Icons\UXIconsBundle::class => ['all' => true],
6263
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],

0 commit comments

Comments
 (0)