diff --git a/app/Member/Member.php b/app/Member/Member.php index 5c612de1..7d53c1bb 100644 --- a/app/Member/Member.php +++ b/app/Member/Member.php @@ -25,8 +25,6 @@ use Illuminate\Notifications\Notifiable; use Sabre\VObject\Component\VCard; use Sabre\VObject\Reader; use Spatie\LaravelData\Lazy; -use Zoomyboy\LaravelNami\Api; -use Zoomyboy\LaravelNami\Data\MembershipEntry; /** * @property string $subscription_name @@ -39,6 +37,9 @@ class Member extends Model use HasFactory; use Sluggable; + /** + * @var array + */ public $guarded = []; /** @@ -158,14 +159,6 @@ class Member extends Model : null; } - /** - * @return Collection - */ - public function getNamiMemberships(Api $api): array - { - return $api->group($this->group->nami_id)->member($this->nami_id)->memberships(); - } - public function getNamiFeeId(): ?int { if (!$this->subscription) {