From 826397e92a3f38835b5ff99e78b760f573840382 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 8 Feb 2023 00:16:35 +0100 Subject: [PATCH] Lint --- app/Member/Member.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) 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) {