|
@@ -58,7 +58,7 @@ discard block |
|
|
block discarded – undo |
|
58
|
58
|
'user-agent' => 'PHP EasySms Client', |
|
59
|
59
|
]; |
|
60
|
60
|
|
|
61
|
|
- $result = $this->request('get', self::getEndpointUri() . '?' . http_build_query($params), ['headers' => $headers,]); |
|
|
61
|
+ $result = $this->request('get', self::getEndpointUri().'?'.http_build_query($params), ['headers' => $headers, ]); |
|
62
|
62
|
if (is_string($result)) { |
|
63
|
63
|
$result = json_decode(json_encode(simplexml_load_string($result)), true); |
|
64
|
64
|
} |
|
@@ -72,6 +72,6 @@ discard block |
|
|
block discarded – undo |
|
72
|
72
|
|
|
73
|
73
|
public static function getEndpointUri() |
|
74
|
74
|
{ |
|
75
|
|
- return 'http://' . static::ENDPOINT_HOST . static::ENDPOINT_URI; |
|
|
75
|
+ return 'http://'.static::ENDPOINT_HOST.static::ENDPOINT_URI; |
|
76
|
76
|
} |
|
77
|
77
|
} |
Please login to merge, or discard this patch.