fix docblock position

The `$defaultLocale` argument is present in the `Translator` class of
the FrameworkBundle, but is not part of the Translation component.
This commit is contained in:
Christian Flothmann 2017-05-22 09:42:36 +02:00
parent 005b4b74d5
commit 082996417d
2 changed files with 9 additions and 9 deletions

View File

@ -50,6 +50,7 @@ class Translator extends BaseTranslator implements WarmableInterface
*
* @param ContainerInterface $container A ContainerInterface instance
* @param MessageSelector $selector The message selector for pluralization
* @param string $defaultLocale
* @param array $loaderIds An array of loader Ids
* @param array $options An array of options
*

View File

@ -76,7 +76,6 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
*
* @param string $locale The locale
* @param MessageSelector|null $selector The message selector for pluralization
* @param string $defaultLocale
* @param string|null $cacheDir The directory to use for the cache
* @param bool $debug Use cache in debug mode ?
*