@@ -161,7 +161,7 @@ discard block |
||
| 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::$optSmsSource)) { |
| 167 | 167 | $body['sms']['source'] = Config::$otpSmsSource; |
@@ -179,7 +179,7 @@ discard block |
||
| 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; |