@@ -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); |
@@ -116,7 +116,7 @@ |
||
116 | 116 | public function typeDescription(): string |
117 | 117 | { |
118 | 118 | // Cast SimpleXMLObject to string |
119 | - $type = (string)$this->type; |
|
119 | + $type = (string) $this->type; |
|
120 | 120 | return array_key_exists($type, self::$types) ? self::$types[$type] : ''; |
121 | 121 | } |
122 | 122 | } |