@@ -213,8 +213,8 @@ |
||
213 | 213 | $accounts = []; |
214 | 214 | foreach ($xml->ACCTINFO as $account) { |
215 | 215 | $accounts[] = new AccountInfo( |
216 | - (string)$account->DESC, |
|
217 | - (string)$account->ACCTID |
|
216 | + (string) $account->DESC, |
|
217 | + (string) $account->ACCTID |
|
218 | 218 | ); |
219 | 219 | } |
220 | 220 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | $ofxHeader = preg_replace('/^\n+/m', '', $ofxHeader); |
41 | 41 | |
42 | 42 | // Check if it's an XML file (OFXv2) |
43 | - if(preg_match('/^<\?xml/', $ofxHeader) === 1) { |
|
43 | + if (preg_match('/^<\?xml/', $ofxHeader) === 1) { |
|
44 | 44 | // Only parse OFX headers and not XML headers. |
45 | 45 | $ofxHeader = preg_replace('/<\?xml .*?\?>\n?/', '', $ofxHeader); |
46 | 46 | $ofxHeader = preg_replace(['/"/', '/\?>/', '/<\?OFX/i'], '', $ofxHeader); |