Passed
Branch master (e6b149)
by Владислав
02:55
created
src/core/DeCaptchaErrors.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
         if (is_null($code)) {
127 127
             $message = $alias;
128 128
             $code = 0;
129
-        }else {
129
+        } else {
130 130
             $message = $this->errorsMessages[$code][$lang];
131 131
         }
132 132
         if ($additionalText) {
Please login to merge, or discard this patch.
src/core/DeCaptchaBase.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,9 @@
 block discarded – undo
112 112
         ];
113 113
         switch ($this->responseType) {
114 114
             case self::RESPONSE_TYPE_STRING:
115
-                if ($type)
116
-                    $array = explode('|', $this->responseType);
115
+                if ($type) {
116
+                                    $array = explode('|', $this->responseType);
117
+                }
117 118
 
118 119
                 break;
119 120
         }
Please login to merge, or discard this patch.