File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/CommandHandler/Wishlist Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,11 @@ public function __invoke(CreateNewWishlist $createNewWishlist): int
4444 $ token = $ this ->tokenStorage ->getToken ();
4545 $ user = $ this ->tokenUserResolver ->resolve ($ token );
4646
47- $ wishlistCookieToken = $ user instanceof ShopUserInterface
48- ? $ this ->wishlistCookieTokenResolver ->resolve ()
49- : $ this ->wishlistCookieTokenResolver ->new ();
47+ // $wishlistCookieToken = $user instanceof ShopUserInterface
48+ // ? $this->wishlistCookieTokenResolver->resolve()
49+ // : $this->wishlistCookieTokenResolver->new();
50+
51+ $ wishlistCookieToken = $ this ->wishlistCookieTokenResolver ->resolve ();
5052
5153 if ($ user instanceof ShopUserInterface) {
5254 /** @var WishlistInterface $wishlist */
You can’t perform that action at this time.
0 commit comments