@@ -113,6 +113,10 @@ |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | |
116 | + /** |
|
117 | + * @param string $relativeUrl |
|
118 | + * @param string $method |
|
119 | + */ |
|
116 | 120 | private function setHttpResponse($relativeUrl, $method, $body = []){ |
117 | 121 | |
118 | 122 | if(is_null($method)){ |
@@ -119,7 +119,7 @@ |
||
119 | 119 | |
120 | 120 | throw new isNullException("Empty method not allowed"); |
121 | 121 | |
122 | - }else{ |
|
122 | + } else{ |
|
123 | 123 | |
124 | 124 | $this->response = $this->client->{strtolower($method)}($this->baseUrl . $relativeUrl, $body); |
125 | 125 |