Completed
Push — master ( 977b26...4da5c5 )
by Adelar
02:30
created
src/Ofx.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
 
35 35
     /**
36 36
      *
37
-     * @param unknown $xmlString
38 37
      * @throws \Exception
38
+     * @param string $ofxContent
39 39
      * @return \Adelarcubs\OFXParser\Ofx
40 40
      */
41 41
     public static function loadFromString($ofxContent)
Please login to merge, or discard this patch.
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.