mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3867 Code review: remove condition that is quite too strict (danger !!)
Thanks @odain !
This commit is contained in:
@@ -125,9 +125,6 @@ class iTopConfigParser
|
||||
$aCurrentRootVarMap =& $this->aVarsMap[$sCurrentRootVar];
|
||||
|
||||
foreach ($oAssignation->expr->items as $oItem) {
|
||||
if (false === ($oItem->key instanceof PhpParser\Node\Scalar\String_)) {
|
||||
continue;
|
||||
}
|
||||
$sValue = $prettyPrinter->prettyPrintExpr($oItem->value);
|
||||
$aCurrentRootVarMap[$oItem->key->value] = $sValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user