@@ -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 | 'hostiran-sms-provider' |
21 | 21 | ); |
22 | 22 | |
23 | - $this->app->bind('hostiran-sms-provider', function () { |
|
23 | + $this->app->bind('hostiran-sms-provider', function() { |
|
24 | 24 | return new HostiranSmsProvider(); |
25 | 25 | }); |
26 | 26 | } |
@@ -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), |