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

Code and comment style improvements

This commit is contained in:
lukinovec 2022-07-22 09:24:42 +02:00 committed by GitHub
parent 1e75221e12
commit f4136f697c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 22 deletions

View file

@ -152,7 +152,7 @@ class Tenancy
// Wrap string in array
$tenants = is_string($tenants) ? [$tenants] : $tenants;
// Use all tenants if $tenants is false
// Use all tenants if $tenants is falsy
$tenants = $tenants ?: $query->cursor();
$originalTenant = $this->tenant;