Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfc7dcc

Browse files
committed
Also fix a bug for --all option
1 parent 3cbefd8 commit dfc7dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
208208
$notice = sprintf('Storing translations files for "%s" in the "%s" directory is deprecated since Symfony 4.2, ', $bundle->getName(), $deprecatedPath);
209209
@trigger_error($notice.($this->defaultTransPath ? sprintf('use the "%s" directory instead.', $this->defaultTransPath) : 'configure and use "framework.translator.default_path" instead.'), E_USER_DEPRECATED);
210210
}
211-
$viewsPaths[] = array($bundle->getPath().'/Resources/views');
211+
$viewsPaths[] = $bundle->getPath().'/Resources/views';
212212
if (is_dir($deprecatedPath = sprintf('%s/Resources/%s/views', $rootDir, $bundle->getName()))) {
213213
$viewsPaths[] = $deprecatedPath;
214214
$notice = sprintf('Storing templates for "%s" in the "%s" directory is deprecated since Symfony 4.2, ', $bundle->getName(), $deprecatedPath);

0 commit comments

Comments
 (0)