mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:54:03 +00:00
Change "symLinks" to "symlinks"
This commit is contained in:
parent
4772f30e27
commit
17f11f5ec7
1 changed files with 3 additions and 3 deletions
|
|
@ -93,7 +93,7 @@ class Link extends Command
|
|||
});
|
||||
|
||||
return $tenants->map(function ($tenantKey) use ($suffixBase, $diskUrls, $disks) {
|
||||
$symLinks = [];
|
||||
$symlinks = [];
|
||||
|
||||
foreach ($diskUrls as $disk => $publicPath) {
|
||||
$storagePath = str_replace('%storage_path%', $suffixBase . $tenantKey, $disks[$disk]);
|
||||
|
|
@ -107,10 +107,10 @@ class Link extends Command
|
|||
mkdir($storagePath, 0777, true);
|
||||
}
|
||||
|
||||
$symLinks[] = [$publicPath => $storagePath];
|
||||
$symlinks[] = [$publicPath => $storagePath];
|
||||
}
|
||||
|
||||
return $symLinks;
|
||||
return $symlinks;
|
||||
})->flatten(1)
|
||||
->mapWithKeys(fn ($item) => $item)
|
||||
->all();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue