Remove inline if clauses
This commit is contained in:
@ -24,8 +24,12 @@ class MDValueSet {
|
||||
|
||||
$output = [];
|
||||
foreach ($keyList as $tID) {
|
||||
if ($tID === "") $output[$tID] = "";
|
||||
else $output[$tID] = $tlLoader->tl($tlFileName, $tlVarName, $tID);
|
||||
if ($tID === "") {
|
||||
$output[$tID] = "";
|
||||
}
|
||||
else {
|
||||
$output[$tID] = $tlLoader->tl($tlFileName, $tlVarName, $tID);
|
||||
}
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
Reference in New Issue
Block a user