mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
revert regression in last commit, opt for a phpstan ignore instead
This commit is contained in:
parent
12fcbabd76
commit
7481229063
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ if (! function_exists('tenant')) {
|
|||
return app(Tenant::class);
|
||||
}
|
||||
|
||||
return app(Tenant::class)->getAttribute($key);
|
||||
// @phpstan-ignore-next-line nullsafe.neverNull
|
||||
return app(Tenant::class)?->getAttribute($key);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue