1
0
Fork 0
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:
lukinovec 2022-08-09 08:10:15 +02:00
parent 4772f30e27
commit 17f11f5ec7

View file

@ -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();