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

Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Victor R 2025-10-01 13:53:58 -04:00 committed by GitHub
parent 2a864e237e
commit 6c0e58ad10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,7 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
if (isset($disk['driver'], $disk['disk']) if (isset($disk['driver'], $disk['disk'])
&& $disk['driver'] === 'scoped' && $disk['driver'] === 'scoped'
&& in_array($disk['disk'], $tenantDisks, true) && in_array($disk['disk'], $tenantDisks, true)
&& ! in_array($disk['disk'], $scopedDisks, true)) { && ! in_array($name, $scopedDisks, true)) {
$scopedDisks[] = $name; $scopedDisks[] = $name;
} }
} }