$event->getUser() of type Symfony\Component\Securi...r\AdvancedUserInterface is incompatible with the type FSi\Bundle\AdminSecurity...iler\EmailableInterface expected by parameter $to of FSi\Bundle\AdminSecurity...MailerInterface::send().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation