8000 use cs-fixer to fix code · symfony/symfony@b60f4d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit b60f4d0

Browse files
committed
use cs-fixer to fix code
1 parent 73515ec commit b60f4d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,22 +308,22 @@ protected function execute(InputInterface $input, OutputInterface $output): int
308308
public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void
309309
{
310310
if ($input->mustSuggestArgumentValuesFor('locale')) {
311-
312311
return;
313312
}
314313

315314
/** @var KernelInterface $kernel */
316315
$kernel = $this->getApplication()->getKernel();
317316
if ($input->mustSuggestArgumentValuesFor('bundle')) {
318-
319317
$suggestions->suggestValues(array_map(function (BundleInterface $bundle) {
320318
return $bundle->getName();
321319
}, $kernel->getBundles()));
320+
322321
return;
323322
}
324323

325324
if ($input->mustSuggestOptionValuesFor('format')) {
326-
$suggestions->suggestValues(\array_keys(self::FORMATS));
325+
$suggestions->suggestValues(array_keys(self::FORMATS));
326+
327327
return;
328328
}
329329

@@ -340,6 +340,7 @@ public function complete(CompletionInput $input, CompletionSuggestions $suggesti
340340
: new MergeOperation($currentCatalogue, $extractedCatalogue);
341341

342342
$suggestions->suggestValues($operation->getDomains());
343+
343344
return;
344345
}
345346

0 commit comments

Comments
 (0)
0