@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Request constructor. |
46 | 46 | * |
47 | - * @param $endpoint |
|
47 | + * @param string $endpoint |
|
48 | 48 | * @param array $headers |
49 | 49 | * @param array $body |
50 | 50 | */ |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | { |
189 | 189 | $this->recipients = $recipients; |
190 | 190 | $this->message = $message; |
191 | - $this->endpoint = $this->config['base_url'] . $this->config['sms_endpoint']; |
|
191 | + $this->endpoint = $this->config['base_url'].$this->config['sms_endpoint']; |
|
192 | 192 | $response = ''; |
193 | 193 | |
194 | 194 | |
@@ -230,13 +230,13 @@ discard block |
||
230 | 230 | ) |
231 | 231 | ), |
232 | 232 | 'MessageType' => array( |
233 | - (string)$this->message_type |
|
233 | + (string) $this->message_type |
|
234 | 234 | ), |
235 | 235 | 'BatchType' => array( |
236 | - (string)$this->batch_type |
|
236 | + (string) $this->batch_type |
|
237 | 237 | ), |
238 | 238 | 'SourceAddr' => array( |
239 | - (string)$this->config['sender_id'] |
|
239 | + (string) $this->config['sender_id'] |
|
240 | 240 | ), |
241 | 241 | 'MessagePayload' => array( |
242 | 242 | array( |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | |
291 | 291 | $config = Config::get(); |
292 | 292 | |
293 | - $endpoint = $config['base_url'] . $config['balance_endpoint'] . '?UserID=' . $config['user_id'] . '&Token=' . md5($config['password']); |
|
293 | + $endpoint = $config['base_url'].$config['balance_endpoint'].'?UserID='.$config['user_id'].'&Token='.md5($config['password']); |
|
294 | 294 | |
295 | 295 | $request = new Request($endpoint); |
296 | 296 | $response = $request->getBalance(); |