@@ -211,7 +211,7 @@ |
||
| 211 | 211 | } |
| 212 | 212 | |
| 213 | 213 | /** |
| 214 | - * @param GoutteClient $client |
|
| 214 | + * @param Client $client |
|
| 215 | 215 | */ |
| 216 | 216 | public function setClient(Client $client) |
| 217 | 217 | { |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | namespace Th3Mouk\YahooWeatherAPI; |
| 12 | 12 | |
| 13 | 13 | use GuzzleHttp\Client; |
| 14 | -use Psr\Http\Message\ResponseInterface as Response; |
|
| 15 | -use Psr\Http\Message\ServerRequestInterface as Request; |
|
| 16 | 14 | use Th3Mouk\YahooWeatherAPI\Query\Query; |
| 17 | 15 | |
| 18 | 16 | class YahooWeatherAPI implements YahooWeatherAPIInterface |
@@ -302,6 +302,9 @@ |
||
| 302 | 302 | return $service->getYql(); |
| 303 | 303 | } |
| 304 | 304 | |
| 305 | + /** |
|
| 306 | + * @param string $url |
|
| 307 | + */ |
|
| 305 | 308 | public function encodeURI($url) |
| 306 | 309 | { |
| 307 | 310 | $unescaped = array( |