@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * @param string $searchEngine The search engine |
| 106 | 106 | * @param integer $ttl The time to live for the cache |
| 107 | 107 | * |
| 108 | - * @return array |
|
| 108 | + * @return Response |
|
| 109 | 109 | */ |
| 110 | 110 | public function getSearchEngineExtensions($searchEngine, $ttl = null) |
| 111 | 111 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * @param string $name The town name |
| 128 | 128 | * @param string $country The country ISO |
| 129 | 129 | * |
| 130 | - * @return array |
|
| 130 | + * @return Response |
|
| 131 | 131 | */ |
| 132 | 132 | public function getTownCode($name, $country = 'FR') |
| 133 | 133 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * @param integer $location |
| 155 | 155 | * @param integer $maxPage |
| 156 | 156 | * |
| 157 | - * @return array |
|
| 157 | + * @return Response |
|
| 158 | 158 | */ |
| 159 | 159 | public function getUrlRankByKeyword($keyword, $url, $searchEngine = 'google', $callback = null, $geolocId = null, $location = 13, $maxPage = null) |
| 160 | 160 | { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Psr\Http\Message\ResponseInterface; |
| 16 | 16 | use Http\Client\Common\Plugin\AuthenticationPlugin; |
| 17 | 17 | use Http\Message\Authentication\QueryParam; |
| 18 | - |
|
| 19 | 18 | use Tristanbes\MyPoseoBundle\Exception\NotEnoughCreditsException; |
| 20 | 19 | |
| 21 | 20 | /** |