Skip to content

Commit dc3b2a0

Browse files
committed
fix docblock position
The `$defaultLocale` argument is present in the `Translator` class of the FrameworkBundle, but is not part of the Translation component.
1 parent d808189 commit dc3b2a0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Translator.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ class Translator implements TranslatorInterface, TranslatorBagInterface
7474
/**
7575
* Constructor.
7676
*
77-
* @param string $locale The locale
78-
* @param MessageSelector|null $selector The message selector for pluralization
79-
* @param string $defaultLocale
80-
* @param string|null $cacheDir The directory to use for the cache
81-
* @param bool $debug Use cache in debug mode ?
77+
* @param string $locale The locale
78+
* @param MessageSelector|null $selector The message selector for pluralization
79+
* @param string|null $cacheDir The directory to use for the cache
80+
* @param bool $debug Use cache in debug mode ?
8281
*
8382
* @throws InvalidArgumentException If a locale contains invalid characters
8483
*/

0 commit comments

Comments
 (0)