You can add type hinting here: `TeamEvent $event`