Passed
Pull Request — master (#2)
by
unknown
01:44
created
wavecell/Sms.php 1 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.