@@ -45,7 +45,7 @@ |
||
| 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 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * |
| 22 | - * @param unknown $ofxFilePath |
|
| 22 | + * @param string $ofxFilePath |
|
| 23 | 23 | * @throws \InvalidArgumentException |
| 24 | 24 | * @return \Adelarcubs\OFXParser\Ofx |
| 25 | 25 | */ |
@@ -34,8 +34,8 @@ discard block |
||
| 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) |