@@ -163,8 +163,7 @@ discard block |
||
| 163 | 163 | if ( ! isset($this->Operation)) |
| 164 | 164 | { |
| 165 | 165 | $this->Operation = $n->nodeName; |
| 166 | - } |
|
| 167 | - else |
|
| 166 | + } else |
|
| 168 | 167 | { |
| 169 | 168 | throw new Exception\Structure('There is more than one Operation type element in the xml-query!', -53); |
| 170 | 169 | } |
@@ -184,8 +183,7 @@ discard block |
||
| 184 | 183 | if ( ! isset($this->$name)) |
| 185 | 184 | { |
| 186 | 185 | $this->$name = $n->nodeValue; |
| 187 | - } |
|
| 188 | - else |
|
| 186 | + } else |
|
| 189 | 187 | { |
| 190 | 188 | throw new Exception\Structure('There is more than one '.$name.' element in the xml-query!', -56); |
| 191 | 189 | } |