Skip to content

Commit de74ec3

Browse files
minor #22846 [FrameworkBundle][Translation] fix docblock position (xabbuh)
This PR was merged into the 3.3 branch. Discussion ---------- [FrameworkBundle][Translation] fix docblock position | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22822 | License | MIT | Doc PR | The `$defaultLocale` argument is present in the `Translator` class of the FrameworkBundle, but is not part of the Translation component. Commits ------- 0829964 fix docblock position
2 parents 6f89173 + a4dca51 commit de74ec3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Translation/Translator.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ class Translator extends BaseTranslator implements WarmableInterface
4848
* * debug: Whether to enable debugging or not (false by default)
4949
* * resource_files: List of translation resources available grouped by locale.
5050
*
51-
* @param ContainerInterface $container A ContainerInterface instance
52-
* @param MessageSelector $selector The message selector for pluralization
53-
* @param array $loaderIds An array of loader Ids
54-
* @param array $options An array of options
51+
* @param ContainerInterface $container A ContainerInterface instance
52+
* @param MessageSelector $selector The message selector for pluralization
53+
* @param string $defaultLocale
54+
* @param array $loaderIds An array of loader Ids
55+
* @param array $options An array of options
5556
*
5657
* @throws InvalidArgumentException
5758
*/

0 commit comments

Comments
 (0)