summaryrefslogtreecommitdiff
path: root/vendor/symfony/translation/TranslatorInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/translation/TranslatorInterface.php')
-rw-r--r--vendor/symfony/translation/TranslatorInterface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/translation/TranslatorInterface.php b/vendor/symfony/translation/TranslatorInterface.php
index 77f14868e6..f677d2455f 100644
--- a/vendor/symfony/translation/TranslatorInterface.php
+++ b/vendor/symfony/translation/TranslatorInterface.php
@@ -35,7 +35,7 @@ interface TranslatorInterface extends LocaleAwareInterface
*
* @throws InvalidArgumentException If the locale contains invalid characters
*/
- public function trans($id, array $parameters = array(), $domain = null, $locale = null);
+ public function trans($id, array $parameters = [], $domain = null, $locale = null);
/**
* Translates the given choice message by choosing a translation according to a number.
@@ -50,7 +50,7 @@ interface TranslatorInterface extends LocaleAwareInterface
*
* @throws InvalidArgumentException If the locale contains invalid characters
*/
- public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null);
+ public function transChoice($id, $number, array $parameters = [], $domain = null, $locale = null);
/**
* Sets the current locale.