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