Please explicitly type $partner (PartnerInterface $partner)