From 4c9abd859931d554314a6948b69a202a04f31eb1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 21 Feb 2024 00:35:26 +0000 Subject: [PATCH] Combine switch statements --- versa | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/versa b/versa index bf24939..59f9f56 100755 --- a/versa +++ b/versa @@ -91,8 +91,7 @@ $application->setCode(function (InputInterface $input): int { $process->run(); } break; - } - switch ($projectType) { + case ProjectType::Sculpin->value: $process = Process::create( command: ['./vendor/bin/sculpin', 'generate'],