Passed
Push — master ( 1dab8b...f743f0 )
by Dmitry
02:07
created
src/Sign.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Provider31/Request/General.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,8 +124,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.