Completed
Push — master ( 977b26...4da5c5 )
by Adelar
02:30
created
src/Ofx.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         libxml_use_internal_errors(true);
46 46
         $xml = simplexml_load_string($xml);
47 47
         $errors = libxml_get_errors();
48
-        if (! empty($errors)) {
48
+        if (!empty($errors)) {
49 49
             throw new \Exception("Failed to parse OFX: " . var_export($errors, true));
50 50
         }
51 51
         
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,9 @@
 block discarded – undo
79 79
                         $line .= '<' . $lastClosedTag;
80 80
                     }
81 81
                 } else {
82
-                    if ($lastClosedTag == $tag)
83
-                        $line = '';
82
+                    if ($lastClosedTag == $tag) {
83
+                                            $line = '';
84
+                    }
84 85
                 }
85 86
                 $xml .= $line . "\n";
86 87
             }
Please login to merge, or discard this patch.