@@ -19,7 +19,7 @@ discard block  | 
                                                    ||
| 19 | 19 |      { | 
                                                        
| 20 | 20 |          if ($this->app->runningInConsole()) { | 
                                                        
| 21 | 21 | $this->publishes([  | 
                                                        
| 22 | -                __DIR__.'/../config/config.php' => config_path('smsgateway.php'), | 
                                                        |
| 22 | +                __DIR__ . '/../config/config.php' => config_path('smsgateway.php'), | 
                                                        |
| 23 | 23 | ], 'config');  | 
                                                        
| 24 | 24 | /*  | 
                                                        
| 25 | 25 | $this->loadViewsFrom(__DIR__.'/../resources/views', 'skeleton');  | 
                                                        
@@ -37,6 +37,6 @@ discard block  | 
                                                    ||
| 37 | 37 | */  | 
                                                        
| 38 | 38 | public function register()  | 
                                                        
| 39 | 39 |      { | 
                                                        
| 40 | - $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'smsgateway');  | 
                                                        |
| 40 | + $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'smsgateway');  | 
                                                        |
| 41 | 41 | }  | 
                                                        
| 42 | 42 | }  | 
                                                        
@@ -48,8 +48,8 @@ discard block  | 
                                                    ||
| 48 | 48 | curl_setopt($post, CURLOPT_POSTFIELDS, http_build_query($this->getPayload()));  | 
                                                        
| 49 | 49 | curl_setopt($post, CURLOPT_RETURNTRANSFER, 1);  | 
                                                        
| 50 | 50 | $resp['data'] = curl_exec($post);  | 
                                                        
| 51 | -        if($resp['data'] === false) { | 
                                                        |
| 52 | - $resp['error'] = curl_error($post);  | 
                                                        |
| 51 | +        if ($resp['data'] === false) { | 
                                                        |
| 52 | + $resp['error'] = curl_error($post);  | 
                                                        |
| 53 | 53 | }  | 
                                                        
| 54 | 54 | curl_close($post);  | 
                                                        
| 55 | 55 | $this->setResponse($resp);  | 
                                                        
@@ -60,7 +60,7 @@ discard block  | 
                                                    ||
| 60 | 60 |      { | 
                                                        
| 61 | 61 | $payload = $this->buildConfigParams();  | 
                                                        
| 62 | 62 |          if (array_key_exists('key', $payload)) { | 
                                                        
| 63 | -            $payload['key'] = hash('sha512', $this->getUsername().$this->getSenderid().$this->getContents().$this->getSecurekey()); | 
                                                        |
| 63 | +            $payload['key'] = hash('sha512', $this->getUsername() . $this->getSenderid() . $this->getContents() . $this->getSecurekey()); | 
                                                        |
| 64 | 64 | }  | 
                                                        
| 65 | 65 |          //dump("data to hash => ".$this->getUsername().$this->getSenderid().$this->getContents().$this->getSecurekey()); | 
                                                        
| 66 | 66 | $this->setPayload($payload);  |