|
@@ -54,7 +54,7 @@ discard block |
|
|
block discarded – undo |
|
54
|
54
|
'user-agent' => 'PHP EasySms Client', |
|
55
|
55
|
]; |
|
56
|
56
|
|
|
57
|
|
- $result = $this->request('get', self::getEndpointUri() . '?' . http_build_query($params), ['headers' => $headers]); |
|
|
57
|
+ $result = $this->request('get', self::getEndpointUri().'?'.http_build_query($params), ['headers' => $headers]); |
|
58
|
58
|
if (is_string($result)) { |
|
59
|
59
|
$result = json_decode(json_encode(simplexml_load_string($result)), true); |
|
60
|
60
|
} |
|
@@ -68,6 +68,6 @@ discard block |
|
|
block discarded – undo |
|
68
|
68
|
|
|
69
|
69
|
public static function getEndpointUri() |
|
70
|
70
|
{ |
|
71
|
|
- return 'https://' . static::ENDPOINT_HOST . static::ENDPOINT_URI; |
|
|
71
|
+ return 'https://'.static::ENDPOINT_HOST.static::ENDPOINT_URI; |
|
72
|
72
|
} |
|
73
|
73
|
} |
Please login to merge, or discard this patch.