The `getNbUnread()` of the Twig extension is marked as returning an integer. It is not the case when initialized. It should be enforced and tested.