Lint
This commit is contained in:
parent
50bfa59c11
commit
826397e92a
|
@ -25,8 +25,6 @@ use Illuminate\Notifications\Notifiable;
|
||||||
use Sabre\VObject\Component\VCard;
|
use Sabre\VObject\Component\VCard;
|
||||||
use Sabre\VObject\Reader;
|
use Sabre\VObject\Reader;
|
||||||
use Spatie\LaravelData\Lazy;
|
use Spatie\LaravelData\Lazy;
|
||||||
use Zoomyboy\LaravelNami\Api;
|
|
||||||
use Zoomyboy\LaravelNami\Data\MembershipEntry;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property string $subscription_name
|
* @property string $subscription_name
|
||||||
|
@ -39,6 +37,9 @@ class Member extends Model
|
||||||
use HasFactory;
|
use HasFactory;
|
||||||
use Sluggable;
|
use Sluggable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array<string, string>
|
||||||
|
*/
|
||||||
public $guarded = [];
|
public $guarded = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -158,14 +159,6 @@ class Member extends Model
|
||||||
: null;
|
: null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return Collection<int, MembershipEntry>
|
|
||||||
*/
|
|
||||||
public function getNamiMemberships(Api $api): array
|
|
||||||
{
|
|
||||||
return $api->group($this->group->nami_id)->member($this->nami_id)->memberships();
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getNamiFeeId(): ?int
|
public function getNamiFeeId(): ?int
|
||||||
{
|
{
|
||||||
if (!$this->subscription) {
|
if (!$this->subscription) {
|
||||||
|
|
Loading…
Reference in New Issue