mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 12:14:04 +00:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
2a864e237e
commit
6c0e58ad10
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ class FilesystemTenancyBootstrapper implements TenancyBootstrapper
|
|||
if (isset($disk['driver'], $disk['disk'])
|
||||
&& $disk['driver'] === 'scoped'
|
||||
&& in_array($disk['disk'], $tenantDisks, true)
|
||||
&& ! in_array($disk['disk'], $scopedDisks, true)) {
|
||||
&& ! in_array($name, $scopedDisks, true)) {
|
||||
$scopedDisks[] = $name;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue