@@ -58,8 +58,7 @@ |
||
| 58 | 58 | if ($result == -1) |
| 59 | 59 | { |
| 60 | 60 | throw new Exception\Sign('Error verify signature of request!', -96); |
| 61 | - } |
|
| 62 | - elseif ($result == 0) |
|
| 61 | + } elseif ($result == 0) |
|
| 63 | 62 | { |
| 64 | 63 | throw new Exception\Sign('Signature of request is incorrect!', -95); |
| 65 | 64 | } |
@@ -124,8 +124,7 @@ discard block |
||
| 124 | 124 | if ( ! isset($this->Operation)) |
| 125 | 125 | { |
| 126 | 126 | $this->Operation = $child->nodeName; |
| 127 | - } |
|
| 128 | - else |
|
| 127 | + } else |
|
| 129 | 128 | { |
| 130 | 129 | throw new Exception\Structure('There is more than one Operation type element in the xml-query!', -53); |
| 131 | 130 | } |
@@ -173,8 +172,7 @@ discard block |
||
| 173 | 172 | if ( ! isset($this->$name)) |
| 174 | 173 | { |
| 175 | 174 | $this->$name = $n->nodeValue; |
| 176 | - } |
|
| 177 | - else |
|
| 175 | + } else |
|
| 178 | 176 | { |
| 179 | 177 | throw new Exception\Structure('There is more than one '.$name.' element in the xml-query!', -56); |
| 180 | 178 | } |