Skip to content

Commit 09897d1

Browse files
committed
Minor change
1 parent b852442 commit 09897d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
151151
}
152152

153153
// show compiled list of messages
154-
if ($input->getOption('dump-messages') === true) {
154+
if (true === $input->getOption('dump-messages')) {
155155
$extractedMessagesCount = 0;
156156
$output->newLine();
157157
foreach ($operation->getDomains() as $domain) {
@@ -201,7 +201,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
201201
$writer->writeTranslations($operation->getResult(), $input->getOption('output-format'), array('path' => $bundleTransPath, 'default_locale' => $this->getContainer()->getParameter('kernel.default_locale')));
202202
}
203203

204-
if ($input->getOption('dump-messages') === true) {
204+
if (true === $input->getOption('dump-messages')) {
205205
$resultMessage .= ' and translation files were updated.';
206206
} else {
207207
$resultMessage = 'Translation files were successfully updated.';

0 commit comments

Comments
 (0)