@@ -111,8 +111,7 @@ |
||
| 111 | 111 | if ($child->nodeName == $name) |
| 112 | 112 | { |
| 113 | 113 | array_push($ret, $child); |
| 114 | - } |
|
| 115 | - else |
|
| 114 | + } else |
|
| 116 | 115 | { |
| 117 | 116 | if (count($child->childNodes) > 0) |
| 118 | 117 | { |
@@ -126,8 +126,7 @@ discard block |
||
| 126 | 126 | if ( ! isset($this->Operation)) |
| 127 | 127 | { |
| 128 | 128 | $this->Operation = $child->nodeName; |
| 129 | - } |
|
| 130 | - else |
|
| 129 | + } else |
|
| 131 | 130 | { |
| 132 | 131 | throw new Exception\Structure('There is more than one Operation type element in the xml-query!', -53); |
| 133 | 132 | } |
@@ -175,8 +174,7 @@ discard block |
||
| 175 | 174 | if ( ! isset($this->$name)) |
| 176 | 175 | { |
| 177 | 176 | $this->$name = $n->nodeValue; |
| 178 | - } |
|
| 179 | - else |
|
| 177 | + } else |
|
| 180 | 178 | { |
| 181 | 179 | throw new Exception\Structure('There is more than one '.$name.' element in the xml-query!', -56); |
| 182 | 180 | } |
@@ -262,8 +260,7 @@ discard block |
||
| 262 | 260 | if ($result == -1) |
| 263 | 261 | { |
| 264 | 262 | throw new Exception\Sign('Error verify signature of request!', -96); |
| 265 | - } |
|
| 266 | - elseif ($result == 0) |
|
| 263 | + } elseif ($result == 0) |
|
| 267 | 264 | { |
| 268 | 265 | throw new Exception\Sign('Signature of request is incorrect!', -95); |
| 269 | 266 | } |