You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This viewName argument is declared but never used. You should remove it.
* @param $locale the target locale to translate view
*
* this methods allow you to add a translation to any view
* recursively to its subview
*/
publicfunction addTranslation(View$view, $viewName = null, $locale)
{
$template = null;
if($view->getTemplate()) {
$template = $view->getTemplate();
if($template->getI18n()->getTranslation($locale)) {
in Bundle/CoreBundle/Helper/ViewHelper.php, line 284
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered: