diff options
Diffstat (limited to 'vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php')
| -rw-r--r-- | vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php b/vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php index b7e6f73458..d08b2ba5ff 100644 --- a/vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php +++ b/vendor/symfony/translation/DependencyInjection/TranslationExtractorPass.php @@ -43,7 +43,7 @@ class TranslationExtractorPass implements CompilerPassInterface throw new RuntimeException(sprintf('The alias for the tag "translation.extractor" of service "%s" must be set.', $id)); } - $definition->addMethodCall('addExtractor', array($attributes[0]['alias'], new Reference($id))); + $definition->addMethodCall('addExtractor', [$attributes[0]['alias'], new Reference($id)]); } } } |
