Skip to content

Commit 05e38c9

Browse files
committed
[2.7][DX] Use constant message contextualisation for deprecations
1 parent af7f611 commit 05e38c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Translator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function getLocale()
154154
*/
155155
public function setFallbackLocale($locales)
156156
{
157-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Use the setFallbackLocales() method instead.', E_USER_DEPRECATED);
157+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.3 and will be removed in 3.0. Use the setFallbackLocales() method instead.', E_USER_DEPRECATED);
158158

159159
$this->setFallbackLocales(is_array($locales) ? $locales : array($locales));
160160
}

0 commit comments

Comments
 (0)