Passed
Pull Request — master (#2)
by
unknown
01:44
created
wavecell/Sms.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -174,10 +174,10 @@
 block discarded – undo
174 174
                     $body['call']['source'] = Config::$otpCallSource;
175 175
                     $body['call']['speed'] = Config::$otpCallSpeed;
176 176
                     $body['call']['repetition'] = Config::$otpCallRepetition;
177
-                	if (isset(Config::$otpCallVoiceProfile)) { 
178
-                	    $body['call']['voiceProfile'] = Config::$otpCallVoiceProfile;
179
-                	}
180
-                	break;
177
+                    if (isset(Config::$otpCallVoiceProfile)) { 
178
+                        $body['call']['voiceProfile'] = Config::$otpCallVoiceProfile;
179
+                    }
180
+                    break;
181 181
                 default:
182 182
                     throw new Exception(PHP_EOL. "***You must specify an OTP channel type***" . PHP_EOL);
183 183
                     break;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
             $body['codeLength'] = Config::$otpCodeLength;
162 162
             $body['codeValidity'] = Config::$otpCodeValidity;
163 163
             $body['resendingInterval'] = Config::$resendInterval;
164
-            switch(Config::$otpChannel) {
164
+            switch (Config::$otpChannel) {
165 165
                 case "sms":
166 166
                     if (isset(Config::$otpSmsSource)) {
167 167
                         $body['sms']['source'] = Config::$otpSmsSource; 
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
                 	}
180 180
                 	break;
181 181
                 default:
182
-                    throw new Exception(PHP_EOL. "***You must specify an OTP channel type***" . PHP_EOL);
182
+                    throw new Exception(PHP_EOL . "***You must specify an OTP channel type***" . PHP_EOL);
183 183
                     break;
184 184
             }
185 185
             $body['channel'] = Config::$otpChannel;
Please login to merge, or discard this patch.