mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 17:24:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
1798ca9c85
commit
6955512a6b
133 changed files with 379 additions and 203 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
use Stancl\Tenancy\Contracts\Tenant;
|
||||
use Stancl\Tenancy\Tenancy;
|
||||
|
||||
if (! function_exists('tenancy')) {
|
||||
/** @return Tenancy */
|
||||
|
|
@ -23,7 +23,7 @@ if (! function_exists('tenant')) {
|
|||
function tenant($key = null)
|
||||
{
|
||||
if (! app()->bound(Tenant::class)) {
|
||||
return null;
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_null($key)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue