return $sDefault;
}
- if (!in_array($this->aParams[$sName], $aValues)) {
+ if (!in_array($this->aParams[$sName], $aValues, true)) {
userError("Parameter '$sName' must be one of: ".join(', ', $aValues));
}
return $aLangPrefOrder;
}
- private function addNameTag(&$aLangPrefOrder, $sTag) {
+ private function addNameTag(&$aLangPrefOrder, $sTag)
+ {
$aLangPrefOrder[$sTag] = $sTag;
$aLangPrefOrder['_place_'.$sTag] = '_place_'.$sTag;
}