@@ -140,8 +140,7 @@ discard block |
||
| 140 | 140 | if ( ! isset($this->Operation)) |
| 141 | 141 | { |
| 142 | 142 | $this->Operation = $child->nodeName; |
| 143 | - } |
|
| 144 | - else |
|
| 143 | + } else |
|
| 145 | 144 | { |
| 146 | 145 | throw new Exception\Structure('There is more than one Operation type element in the xml-query!', -53); |
| 147 | 146 | } |
@@ -189,8 +188,7 @@ discard block |
||
| 189 | 188 | if ( ! isset($this->$name)) |
| 190 | 189 | { |
| 191 | 190 | $this->$name = $n->nodeValue; |
| 192 | - } |
|
| 193 | - else |
|
| 191 | + } else |
|
| 194 | 192 | { |
| 195 | 193 | throw new Exception\Structure('There is more than one '.$name.' element in the xml-query!', -56); |
| 196 | 194 | } |
@@ -276,8 +274,7 @@ discard block |
||
| 276 | 274 | if ($result == -1) |
| 277 | 275 | { |
| 278 | 276 | throw new Exception\Sign('Error verify signature of request!', -96); |
| 279 | - } |
|
| 280 | - elseif ($result == 0) |
|
| 277 | + } elseif ($result == 0) |
|
| 281 | 278 | { |
| 282 | 279 | throw new Exception\Sign('Signature of request is incorrect!', -95); |
| 283 | 280 | } |
@@ -299,8 +296,7 @@ discard block |
||
| 299 | 296 | if ($child->nodeName == $name) |
| 300 | 297 | { |
| 301 | 298 | array_push($ret, $child); |
| 302 | - } |
|
| 303 | - else |
|
| 299 | + } else |
|
| 304 | 300 | { |
| 305 | 301 | if (count($child->childNodes) > 0) |
| 306 | 302 | { |