Add the possibility to set a null lang
modifié: core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user