Completed
Push — master ( 68ddf4...1266bf )
by Dmitry
02:17
created
src/Provider31/Request/General.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -130,8 +130,7 @@  discard block
 block discarded – undo
130 130
         if (count($ar) < 1)
131 131
         {
132 132
             throw new Exception\Structure('The xml-query does not contain any element Request!', -52);
133
-        }
134
-        elseif (count($ar) > 1)
133
+        } elseif (count($ar) > 1)
135 134
         {
136 135
             throw new Exception\Structure('The xml-query contains several elements Request!', -52);
137 136
         }
@@ -183,8 +182,7 @@  discard block
 block discarded – undo
183 182
             if ( ! isset($this->Operation))
184 183
             {
185 184
                 $this->Operation = $n->nodeName;
186
-            }
187
-            else
185
+            } else
188 186
             {
189 187
                 throw new Exception\Structure('There is more than one Operation type element in the xml-query!', -53);
190 188
             }
@@ -217,8 +215,7 @@  discard block
 block discarded – undo
217 215
         if ( ! isset($this->$name))
218 216
         {
219 217
             $this->$name = $n->nodeValue;
220
-        }
221
-        else
218
+        } else
222 219
         {
223 220
             throw new Exception\Structure('There is more than one '.$name.' element in the xml-query!', -56);
224 221
         }
Please login to merge, or discard this patch.