Fix domain limit count caching

This commit is contained in:
Julien Nahum
2023-12-12 11:57:13 +01:00
parent 7f632b9cb8
commit 77ff8637b3
2 changed files with 3 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class License extends Model
return $query->where('status', self::STATUS_ACTIVE);
}
public function getMaxFileSizeAttribute()
public function getMaxFileSizeAttribute(): int
{
return [
1 => 25000000, // 25 MB,
@@ -43,7 +43,7 @@ class License extends Model
][$this->meta['tier']];
}
public function getCustomDomainLimitCountAttribute()
public function getCustomDomainLimitCountAttribute(): ?int
{
return [
1 => 1,