Completed
Push — master ( 3dc188...ddb6ef )
by Lars
01:45
created
src/voku/helper/XmlDomParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             /** @noinspection StringFragmentMisplacedInspection */
190 190
             if (\stripos('<?xml', $xml) !== 0) {
191 191
                 $xmlHackUsed = true;
192
-                $xml = '<?xml encoding="' . $this->getEncoding() . '" ?>' . $xml;
192
+                $xml = '<?xml encoding="'.$this->getEncoding().'" ?>'.$xml;
193 193
             }
194 194
 
195 195
             $documentFound = $this->document->loadXML($xml, $optionsXml);
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
             &&
213 213
             \count($xmlErrors) > 0
214 214
         ) {
215
-            $errorStr = 'XML-Errors: ' . \print_r($xmlErrors, true) . ' in ' . \print_r($xml, true);
215
+            $errorStr = 'XML-Errors: '.\print_r($xmlErrors, true).' in '.\print_r($xml, true);
216 216
 
217 217
             if (!$this->reportXmlErrorsAsException) {
218 218
                 \trigger_error($errorStr, \E_USER_WARNING);
Please login to merge, or discard this patch.