@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | try { |
| 22 | 22 | $client = new Client(); |
| 23 | - $request = $client->post($url, ['json' => $data]); |
|
| 23 | + $request = $client->post($url, [ 'json' => $data ]); |
|
| 24 | 24 | $response = [ |
| 25 | 25 | 'status' => true, |
| 26 | 26 | 'providerResult' => json_decode($request->getBody()->getContents(), true), |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | ini_set('soap.wsdl_cache_enabled', '0'); |
| 22 | 22 | try { |
| 23 | - $client = new SoapClient($url, ['encoding' => 'UTF-8']); |
|
| 23 | + $client = new SoapClient($url, [ 'encoding' => 'UTF-8' ]); |
|
| 24 | 24 | $response = [ |
| 25 | 25 | 'status' => true, |
| 26 | 26 | 'providerResult' => $client->AddSchedule($data), |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | 'hostiran-sms-provider' |
| 23 | 23 | ); |
| 24 | 24 | |
| 25 | - $this->app->bind('hostiran-sms-provider', function () { |
|
| 25 | + $this->app->bind('hostiran-sms-provider', function() { |
|
| 26 | 26 | return new HostiranSmsProvider(new ToOne()); |
| 27 | 27 | }); |
| 28 | 28 | } |