| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function onInteractiveLogin(InteractiveLoginEvent $interactiveLoginEvent): void |
||
| 34 | { |
||
| 35 | $user = $interactiveLoginEvent->getAuthenticationToken()->getUser(); |
||
| 36 | |||
| 37 | if (!$user instanceof ShopUserInterface) { |
||
| 38 | return; |
||
| 39 | } |
||
| 40 | |||
| 41 | $this->cookieStorage->set($this->wishlistCookieToken, null); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |