| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function __invoke(string $username, string $emailAddress, string $token): Response |
||
| 33 | { |
||
| 34 | try { |
||
| 35 | $this->emailAddressManager->verifyEmailAddress($username, $token); |
||
| 36 | } catch (InvalidArgumentException $exception) { |
||
| 37 | return new Response(null, Response::HTTP_NOT_FOUND); |
||
| 38 | } |
||
| 39 | |||
| 40 | return new Response(null, Response::HTTP_OK); |
||
| 41 | } |
||
| 43 |