1
0
Fork 0
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:
stancl 2020-05-22 09:01:31 +00:00 committed by StyleCI Bot
parent 1798ca9c85
commit 6955512a6b
133 changed files with 379 additions and 203 deletions

View file

@ -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)) {