diff --git a/system/libs/pot/OTS_Account.php b/system/libs/pot/OTS_Account.php index f617bbfc..8505128e 100644 --- a/system/libs/pot/OTS_Account.php +++ b/system/libs/pot/OTS_Account.php @@ -472,7 +472,7 @@ class OTS_Account extends OTS_Row_DAO implements IteratorAggregate, Countable return $this->data['lastday']; } - public function isPremium() + public function isPremium(): bool { if(isset($this->data['premium_ends_at']) || isset($this->data['premend']) || (isCanary() && isset($this->data['lastday']))) { diff --git a/system/src/Models/Account.php b/system/src/Models/Account.php index 26a09f51..4b44b153 100644 --- a/system/src/Models/Account.php +++ b/system/src/Models/Account.php @@ -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))) {