Add the possibility to set a null lang

modifié:         core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php
This commit is contained in:
Benjamin Perche
2014-07-21 16:21:17 +02:00
parent 6c8411f0c0
commit df98ce2de4

View File

@@ -232,7 +232,7 @@ class FormatterData
return $this->reverseAliases($this->data, $this->aliases);
}
public function setLang(Lang $lang)
public function setLang(Lang $lang = null)
{
$this->lang = $lang;