From 466a710b1993777ff5e3c00a14be21e0d1b8d827 Mon Sep 17 00:00:00 2001 From: Francisco Madeira Date: Fri, 31 May 2024 11:01:36 +0100 Subject: [PATCH] style: fixes --- src/NewCommand.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index 8f82105..d1b5cec 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -14,6 +14,7 @@ use Symfony\Component\Process\Exception\ProcessStartFailedException; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; + use function Laravel\Prompts\confirm; use function Laravel\Prompts\multiselect; use function Laravel\Prompts\select; @@ -787,7 +788,6 @@ protected function isParked(string $directory) return $output !== false ? in_array(dirname($directory), json_decode($output)) : false; } - /** * Runs the given command on "herd" or "valet" cli. * @@ -805,7 +805,8 @@ protected function runOnValetOrHerd(string $command) if ($process->isSuccessful()) { return trim($process->getOutput()); } - } catch (ProcessStartFailedException) {} + } catch (ProcessStartFailedException) { + } } return false;