Passed
Push — master ( 9fda08...16baae )
by Sebastian
06:39
created
src/XMLHelper/SimpleXML.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         // error wrappers.
84 84
         $errors = libxml_get_errors();
85 85
         
86
-        foreach($errors as $error) 
86
+        foreach ($errors as $error) 
87 87
         {
88 88
             $this->errors[] = new XMLHelper_SimpleXML_Error($this, $error);
89 89
         }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         
98 98
         $xml = $function($subject);
99 99
         
100
-        if($xml instanceof \SimpleXMLElement)
100
+        if ($xml instanceof \SimpleXMLElement)
101 101
         {
102 102
             return $xml;
103 103
         }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     
108 108
     public function getConverter() : XMLHelper_Converter
109 109
     {
110
-        if($this->element instanceof \SimpleXMLElement)
110
+        if ($this->element instanceof \SimpleXMLElement)
111 111
         {
112 112
             return XMLHelper::convertElement($this->element);
113 113
         }
Please login to merge, or discard this patch.