@@ -52,7 +52,7 @@ |
||
52 | 52 | */ |
53 | 53 | public static function buildApiUrl($resourceUrl) |
54 | 54 | { |
55 | - return self::URL_BASE . ltrim($resourceUrl, '/'); |
|
55 | + return self::URL_BASE.ltrim($resourceUrl, '/'); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
@@ -37,7 +37,7 @@ |
||
37 | 37 | $postString = UrlHelper::buildRequestString($post); |
38 | 38 | $res = $this->request->exec(UrlHelper::RESOURCE_SEND_MESSAGE, $postString); |
39 | 39 | |
40 | - if ($res === null || !isset($res['resource_response']) || $res['resource_response']['error'] !== null) { |
|
40 | + if ($res === null || ! isset($res['resource_response']) || $res['resource_response']['error'] !== null) { |
|
41 | 41 | return false; |
42 | 42 | } |
43 | 43 |