Warning : `$token` can be `null` here. Check [SecurityContext class](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Core/SecurityContext.php#L60) for more info.