@@ -175,9 +175,9 @@ |
||
| 175 | 175 | * Call method |
| 176 | 176 | * |
| 177 | 177 | * @param string $method |
| 178 | - * @param array|null $data |
|
| 178 | + * @param string|false $data |
|
| 179 | 179 | * |
| 180 | - * @return mixed |
|
| 180 | + * @return \SimpleXMLElement |
|
| 181 | 181 | */ |
| 182 | 182 | protected function call($method = '', $data = null) |
| 183 | 183 | { |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | protected function innerXML(\SimpleXMLElement $node) |
| 166 | 166 | { |
| 167 | 167 | $content = ""; |
| 168 | - foreach($node->children() as $child) { |
|
| 168 | + foreach ($node->children() as $child) { |
|
| 169 | 169 | $content .= $child->asXML(); |
| 170 | 170 | } |
| 171 | 171 | return $content; |
@@ -38,8 +38,8 @@ discard block |
||
| 38 | 38 | protected $description; |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param \SimpleXMLElement $statement |
|
| 42 | - * @return $this |
|
| 41 | + * @param \SimpleXMLElement $statements |
|
| 42 | + * @return Statement[] |
|
| 43 | 43 | */ |
| 44 | 44 | public static function arrayFromResponse(\SimpleXMLElement $statements) |
| 45 | 45 | { |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | /** |
| 263 | - * @return float |
|
| 263 | + * @return string |
|
| 264 | 264 | */ |
| 265 | 265 | public function getBalance() |
| 266 | 266 | { |