@@ -43,6 +43,9 @@ |
||
| 43 | 43 | } |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @return string|null |
|
| 48 | + */ |
|
| 46 | 49 | public function getError($asString = true) |
| 47 | 50 | { |
| 48 | 51 | if (!$asString) { |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | $client = $this->_guzzle; |
| 126 | 126 | $data = $this->prepareData($data); |
| 127 | 127 | if ($this->method == 'GET') { |
| 128 | - $url = $url. (strpos($url, '?') ? '&' : '?') . build_query($data); |
|
| 128 | + $url = $url . (strpos($url, '?') ? '&' : '?') . build_query($data); |
|
| 129 | 129 | } else { |
| 130 | 130 | $options = [ |
| 131 | 131 | 'body' => $data |