$this->key of type Mbarbey\U2fSecurityBundl...s\Entity\Key\U2fKeyTest is incompatible with the type Mbarbey\U2fSecurityBundl...del\Key\U2fKeyInterface expected by parameter $key of Mbarbey\U2fSecurityBundl...essEvent::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
30
$this->event = new U2fAuthenticationSuccessEvent($this->user, /** @scrutinizer ignore-type */ $this->key);