Passed
Push — master ( 120832...1dab8b )
by Dmitry
02:12
created
src/Provider31/Request/RAW.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
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
                 {
Please login to merge, or discard this patch.
src/Provider31/Request/General.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.