From 55a456d5e1154e8e7d85b35e1806ee86e342bd29 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Wed, 12 Aug 2020 22:20:06 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Commands/ShareCurrentWorkingDirectoryCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Commands/ShareCurrentWorkingDirectoryCommand.php b/app/Commands/ShareCurrentWorkingDirectoryCommand.php index 819dbab..e6e117b 100644 --- a/app/Commands/ShareCurrentWorkingDirectoryCommand.php +++ b/app/Commands/ShareCurrentWorkingDirectoryCommand.php @@ -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()