mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 11:44:03 +00:00
revert function type to public static
This commit is contained in:
parent
59d2c6d98d
commit
d77d98f9e2
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class DomainTenantResolver extends Contracts\CachedTenantResolver
|
||||||
return $tenant;
|
return $tenant;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function isSubdomain(string $hostname): bool
|
public static function isSubdomain(string $hostname): bool
|
||||||
{
|
{
|
||||||
foreach (config('tenancy.central_domains') as $domain) {
|
foreach (config('tenancy.central_domains') as $domain) {
|
||||||
if ($hostname === $domain) {
|
if ($hostname === $domain) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue