@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Sourceout\LastFm\Http; |
3 | 3 | |
4 | +use Http\Client\Exception\TransferException; |
|
4 | 5 | use Http\Client\HttpClient; |
5 | -use Http\Message\MessageFactory; |
|
6 | 6 | use Http\Discovery\HttpClientDiscovery; |
7 | -use Psr\Http\Message\ResponseInterface; |
|
8 | 7 | use Http\Discovery\MessageFactoryDiscovery; |
9 | -use Http\Client\Exception\TransferException; |
|
8 | +use Http\Message\MessageFactory; |
|
9 | +use Psr\Http\Message\ResponseInterface; |
|
10 | 10 | use Sourceout\LastFm\Exception\HttpTransferException; |
11 | 11 | |
12 | 12 | class Http implements HttpInterface |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * @param string $country |
10 | 10 | * @param integer $page |
11 | 11 | * @param integer $limit |
12 | - * @return mixed |
|
12 | + * @return \Tightenco\Collect\Support\Collection |
|
13 | 13 | */ |
14 | 14 | public function getTopArtists( |
15 | 15 | string $country, |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * @param string $location |
30 | 30 | * @param integer $limit |
31 | 31 | * @param integer $page |
32 | - * @return mixed |
|
32 | + * @return \Tightenco\Collect\Support\Collection |
|
33 | 33 | */ |
34 | 34 | public function getTopTracks( |
35 | 35 | string $country, |