@@ -63,7 +63,7 @@ discard block  | 
                                                    ||
| 63 | 63 | */  | 
                                                        
| 64 | 64 | private function prepareRequest()  | 
                                                        
| 65 | 65 |      { | 
                                                        
| 66 | - $this->client = new Client(['base_uri' => self::baseURL]);  | 
                                                        |
| 66 | + $this->client = new Client([ 'base_uri' => self::baseURL ]);  | 
                                                        |
| 67 | 67 | }  | 
                                                        
| 68 | 68 | |
| 69 | 69 | /**  | 
                                                        
@@ -74,7 +74,7 @@ discard block  | 
                                                    ||
| 74 | 74 | private function performGetRequest($relativeUrl)  | 
                                                        
| 75 | 75 |      { | 
                                                        
| 76 | 76 |          $this->response = $this->client->request('GET', $relativeUrl, [ | 
                                                        
| 77 | - 'auth' => [$this->publicKey, $this->accessToken]  | 
                                                        |
| 77 | + 'auth' => [ $this->publicKey, $this->accessToken ]  | 
                                                        |
| 78 | 78 | ]);  | 
                                                        
| 79 | 79 | }  | 
                                                        
| 80 | 80 | |
@@ -87,7 +87,7 @@ discard block  | 
                                                    ||
| 87 | 87 | private function performPostRequest($relativeUrl, $data)  | 
                                                        
| 88 | 88 |      { | 
                                                        
| 89 | 89 |          $this->response = $this->client->request('POST', $relativeUrl, [ | 
                                                        
| 90 | - 'auth' => [$this->publicKey, $this->accessToken],  | 
                                                        |
| 90 | + 'auth' => [ $this->publicKey, $this->accessToken ],  | 
                                                        |
| 91 | 91 | 'form_params' => $data  | 
                                                        
| 92 | 92 | ]);  | 
                                                        
| 93 | 93 | }  | 
                                                        
@@ -97,7 +97,7 @@ discard block  | 
                                                    ||
| 97 | 97 | * @param array $payload  | 
                                                        
| 98 | 98 | * @return $this  | 
                                                        
| 99 | 99 | */  | 
                                                        
| 100 | - public function sendSMS($payload = [])  | 
                                                        |
| 100 | + public function sendSMS($payload = [ ])  | 
                                                        |
| 101 | 101 |      { | 
                                                        
| 102 | 102 |          if (empty($payload)) { | 
                                                        
| 103 | 103 |              throw IsEmpty::create("Message Payload can not be empty. Please fill the appropriate details"); |