Add return type

This commit is contained in:
slawkens
2025-10-27 15:03:24 +01:00
parent 6cd38ee1ec
commit 8f47b36dc8
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class Account extends Model {
return max($ret, 0);
}
public function getIsPremiumAttribute()
public function getIsPremiumAttribute(): bool
{
if(isset($this->premium_ends_at) || isset($this->premend) ||
(isCanary() && isset($this->lastday))) {