Test Setup Failed
Push — master ( 06f9ae...95cc96 )
by Rafael
01:03
created
src/CommonsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 trait CommonsTrait
13 13
 {
14
-    private static ?\DOMDocument $xml = null;
14
+    private static ? \DOMDocument $xml = null;
15 15
 
16 16
     private static string $encoding = 'UTF-8';
17 17
 
Please login to merge, or discard this patch.
src/XML2Array.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @throws \InvalidArgumentException
38 38
      */
39
-    public static function createArray(string|\DOMDocument $inputXml): array
39
+    public static function createArray(string | \DOMDocument $inputXml): array
40 40
     {
41 41
         $xml = self::getXMLRoot();
42 42
         if (is_string($inputXml)) {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         }
52 52
         $array = [];
53 53
         $array[$xml->documentElement->tagName] = self::convert($xml->documentElement);
54
-        self::$xml = null;// clear the xml node in the class for 2nd time use.
54
+        self::$xml = null; // clear the xml node in the class for 2nd time use.
55 55
 
56 56
         return $array;
57 57
     }
Please login to merge, or discard this patch.