mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
f9084c3c31
commit
55a456d5e1
@@ -41,11 +41,11 @@ class ShareCurrentWorkingDirectoryCommand extends ShareCommand
|
||||
if (is_dir($valetSitesPath)) {
|
||||
$site = collect(scandir($valetSitesPath))
|
||||
->skip(2)
|
||||
->map(function($site) use($valetSitesPath) {
|
||||
->map(function ($site) use ($valetSitesPath) {
|
||||
return $valetSitesPath.DIRECTORY_SEPARATOR.$site;
|
||||
})->mapWithKeys(function($site){
|
||||
})->mapWithKeys(function ($site) {
|
||||
return [$site => readlink($site)];
|
||||
})->filter(function($sourcePath) use($projectPath) {
|
||||
})->filter(function ($sourcePath) use ($projectPath) {
|
||||
return $sourcePath === $projectPath;
|
||||
})
|
||||
->keys()
|
||||
|
||||
Reference in New Issue
Block a user