1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 09:04:03 +00:00

revert function type to public static

This commit is contained in:
kostamilorava 2025-12-11 19:28:20 +04:00
parent 59d2c6d98d
commit d77d98f9e2

View file

@ -56,7 +56,7 @@ class DomainTenantResolver extends Contracts\CachedTenantResolver
return $tenant;
}
protected function isSubdomain(string $hostname): bool
public static function isSubdomain(string $hostname): bool
{
foreach (config('tenancy.central_domains') as $domain) {
if ($hostname === $domain) {