@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @param string $url |
34 | 34 | * @param array $parameters |
35 | - * @param array $options |
|
35 | + * @param string[] $options |
|
36 | 36 | * |
37 | 37 | * @return string |
38 | 38 | */ |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Coerces given value into boolean and returns string representation |
72 | 72 | * |
73 | - * @param mixed $value |
|
73 | + * @param boolean $value |
|
74 | 74 | * |
75 | 75 | * @return string |
76 | 76 | */ |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param string|resource|StreamInterface $body Message body. |
99 | 99 | * @param string $version HTTP protocol version. |
100 | 100 | * |
101 | - * @return GuzzleHttp\Psr7\Request |
|
101 | + * @return Request |
|
102 | 102 | */ |
103 | 103 | public function getRequest( |
104 | 104 | $method, |
@@ -145,7 +145,6 @@ discard block |
||
145 | 145 | * Updates query params array to apply yelp specific formatting rules. |
146 | 146 | * |
147 | 147 | * @param array $params |
148 | - * @param array $options |
|
149 | 148 | * |
150 | 149 | * @return string |
151 | 150 | */ |
@@ -167,7 +166,7 @@ discard block |
||
167 | 166 | /** |
168 | 167 | * Makes a request to the Yelp API and returns the response |
169 | 168 | * |
170 | - * @param Psr\Http\Message\RequestInterface $request |
|
169 | + * @param RequestInterface $request |
|
171 | 170 | * |
172 | 171 | * @return stdClass The JSON response from the request |
173 | 172 | * @throws Stevenmaguire\Yelp\Exception\ClientConfigurationException |
@@ -183,9 +182,9 @@ discard block |
||
183 | 182 | /** |
184 | 183 | * Updates the yelp client's http client to the given http client. Client. |
185 | 184 | * |
186 | - * @param GuzzleHttp\Client $client |
|
185 | + * @param HttpClient $client |
|
187 | 186 | * |
188 | - * @return mixed |
|
187 | + * @return HttpTrait |
|
189 | 188 | */ |
190 | 189 | public function setHttpClient(HttpClient $client) |
191 | 190 | { |