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

Fix code style (php-cs-fixer)

This commit is contained in:
PHP CS Fixer 2022-07-22 13:22:51 +00:00
parent 60fb9b8e54
commit 1a911af568

View file

@ -27,7 +27,7 @@ trait HasTenantOptions
->when($this->option('tenants'), function ($query) {
$query->whereIn(tenancy()->model()->getTenantKeyName(), $this->option('tenants'));
})
->when(tenancy()->model()::hasGlobalScope(PendingScope::class), function($query) {
->when(tenancy()->model()::hasGlobalScope(PendingScope::class), function ($query) {
$query->withPending($this->option('with-pending'));
})
->cursor();