Skip to content

Commit ed94d2b

Browse files
committed
Silence invasive deprecation warnings, opt-in for warnings
1 parent 897dccf commit ed94d2b

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
@@ -177,7 +177,7 @@ public function getLocale()
177177
*/
178178
public function setFallbackLocale($locales)
179179
{
180-
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);
180+
@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);
181181

182182
$this->setFallbackLocales(is_array($locales) ? $locales : array($locales));
183183
}

0 commit comments

Comments
 (0)