hasNami) { return; } InsertMembershipsAction::run($member, MembershipsOfAction::run($this->api(), $member->nami_id)); } private function api(): Api { return app(NamiSettings::class)->login(); } }