@@ -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 |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * @param string $country |
| 12 | 12 | * @param integer $page |
| 13 | 13 | * @param integer $limit |
| 14 | - * @return mixed |
|
| 14 | + * @return \Tightenco\Collect\Support\Collection |
|
| 15 | 15 | * @throws LastFmException |
| 16 | 16 | */ |
| 17 | 17 | public function getTopArtists(string $country, int $page = 1, int $limit = 50); |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * @param string $location |
| 24 | 24 | * @param integer $limit |
| 25 | 25 | * @param integer $page |
| 26 | - * @return mixed |
|
| 26 | + * @return \Tightenco\Collect\Support\Collection |
|
| 27 | 27 | * @throws LastFmException |
| 28 | 28 | */ |
| 29 | 29 | public function getTopTracks(string $country, string $location = null, int $limit = 50, int $page = 1); |