File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
dev/tests/integration/testsuite/Magento/Framework/Config
lib/internal/Magento/Framework/Config Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ public function parseVarElementDataProvider()
5151 {
5252 $ sourceString = <<<'XML'
5353<?xml version="1.0"?>
54- <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
54+ <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55+ xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
5556 <vars module="Magento_Test">
5657 <var name="str">some string</var>
5758 <var name="int-1">1</var>
Original file line number Diff line number Diff line change @@ -103,9 +103,9 @@ protected function parseVarElement(\DOMElement $node)
103103 }
104104 }
105105 if (!count ($ result )) {
106- $ result = (strtolower ($ node ->nodeValue ) !== 'true ' && strtolower ($ node ->nodeValue ) !== 'false ' )
106+ $ result = (strtolower ($ node ->nodeValue ) !== 'true ' && strtolower ($ node ->nodeValue ) !== 'false ' )
107107 ? $ node ->nodeValue
108- : filter_var ($ node ->nodeValue , FILTER_VALIDATE_BOOLEAN );
108+ : filter_var ($ node ->nodeValue , FILTER_VALIDATE_BOOLEAN );
109109 }
110110 return $ result ;
111111 }
You can’t perform that action at this time.
0 commit comments