mirror of
https://github.com/opdavies/versa.git
synced 2025-02-12 20:06:58 +00:00
Combine switch statements
This commit is contained in:
parent
1e0bee8551
commit
4c9abd8599
3
versa
3
versa
|
@ -91,8 +91,7 @@ $application->setCode(function (InputInterface $input): int {
|
||||||
$process->run();
|
$process->run();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
switch ($projectType) {
|
|
||||||
case ProjectType::Sculpin->value:
|
case ProjectType::Sculpin->value:
|
||||||
$process = Process::create(
|
$process = Process::create(
|
||||||
command: ['./vendor/bin/sculpin', 'generate'],
|
command: ['./vendor/bin/sculpin', 'generate'],
|
||||||
|
|
Loading…
Reference in a new issue