8000 Revert sort option check · symfony/symfony@0b6a58c · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b6a58c

Browse files
author
Guillaume Verstraete
committed
Revert sort option check
1 parent 6d93360 commit 0b6a58c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,12 +300,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
300300

301301
return 1;
302302
}
303-
}
304303

305-
if (self::DESC === $sort) {
306-
rsort($list);
307-
} else {
308-
sort($list);
304+
if (self::DESC === $sort) {
305+
rsort($list);
306+
} else {
307+
sort($list);
308+
}
309309
}
310310

311311
$io->section(sprintf('Messages extracted for domain "<info>%s</info>" (%d message%s)', $domain, $domainMessagesCount, $domainMessagesCount > 1 ? 's' : ''));

0 commit comments

Comments
 (0)
0