@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function register() |
| 10 | 10 | { |
| 11 | - $this->app->singleton('RayganSms', function ($app) { |
|
| 11 | + $this->app->singleton('RayganSms', function($app) { |
|
| 12 | 12 | $conf = $app['config']['services.raygansms']; |
| 13 | 13 | |
| 14 | 14 | return new Sms($conf['user_name'], $conf['password'], $conf['phone_number']); |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | |
| 95 | 95 | $requestType = $autoGenerateCode ? "POST" : "GET"; |
| 96 | 96 | |
| 97 | - $key = $autoGenerateCode ? "form_params" : "query"; |
|
| 97 | + $key = $autoGenerateCode ? "form_params" : "query"; |
|
| 98 | 98 | |
| 99 | 99 | $response = $this->client->request($requestType, $this->url_send_auto_auth_code, [$key => $params]); |
| 100 | 100 | |