Trim constant values in XmlFileLoader
This commit is contained in:
parent
8974d773a7
commit
f09e6218f8
@ -391,7 +391,7 @@ class XmlFileLoader extends FileLoader
|
||||
$arguments[$key] = $arg->nodeValue;
|
||||
break;
|
||||
case 'constant':
|
||||
$arguments[$key] = constant($arg->nodeValue);
|
||||
$arguments[$key] = constant(trim($arg->nodeValue));
|
||||
break;
|
||||
default:
|
||||
$arguments[$key] = XmlUtils::phpize($arg->nodeValue);
|
||||
|
Reference in New Issue
Block a user