@@ -57,15 +57,13 @@ |
||
57 | 57 | |
58 | 58 | if (null !== $cookieWishlistId && !$user instanceof ShopUserInterface) { |
59 | 59 | return $this->wishlistRepository->find($cookieWishlistId) ? |
60 | - $this->wishlistRepository->find($cookieWishlistId) : |
|
61 | - $this->wishlistFactory->createNew() |
|
60 | + $this->wishlistRepository->find($cookieWishlistId) : $this->wishlistFactory->createNew() |
|
62 | 61 | ; |
63 | 62 | } |
64 | 63 | |
65 | 64 | if ($user instanceof ShopUserInterface) { |
66 | 65 | return $this->wishlistRepository->findByShopUser($user) ? |
67 | - $this->wishlistRepository->findByShopUser($user) : |
|
68 | - $this->wishlistFactory->createForUser($user) |
|
66 | + $this->wishlistRepository->findByShopUser($user) : $this->wishlistFactory->createForUser($user) |
|
69 | 67 | ; |
70 | 68 | } |
71 | 69 |