| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | * @param null|int $bitRate The target bit rate to transcode, defaults to OUTPUT_BIT_RATE. | 
| 26 | 26 | * Only taken into account if $transcode is truthy. | 
| 27 | 27 | * | 
| 28 | - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector | |
| 28 | + * @return \Illuminate\Http\RedirectResponse|null | |
| 29 | 29 | */ | 
| 30 | 30 | public function play(Request $request, Song $song, $transcode = null, $bitRate = null) | 
| 31 | 31 |      { | 
| @@ -343,7 +343,7 @@ | ||
| 343 | 343 | * | 
| 344 | 344 | * @throws \InvalidArgumentException | 
| 345 | 345 | * | 
| 346 | - * @return string|false The cover file's full path, or false if none found | |
| 346 | + * @return string The cover file's full path, or false if none found | |
| 347 | 347 | */ | 
| 348 | 348 | private function getCoverFileUnderSameDirectory() | 
| 349 | 349 |      { | 
| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | /** | 
| 32 | 32 | * Set a setting (no pun) value. | 
| 33 | 33 | * | 
| 34 | - * @param string|array $key The key of the setting, or an associative array of settings, | |
| 34 | + * @param string $key The key of the setting, or an associative array of settings, | |
| 35 | 35 | * in which case $value will be discarded. | 
| 36 | - * @param mixed $value | |
| 36 | + * @param string $value | |
| 37 | 37 | */ | 
| 38 | 38 | public static function set($key, $value = null) | 
| 39 | 39 |      { | 
| @@ -250,7 +250,7 @@ | ||
| 250 | 250 | * @param string $artist Name of the artist | 
| 251 | 251 | * @param string $track Name of the track | 
| 252 | 252 | * @param string $album Name of the album | 
| 253 | - * @param int|float $duration Duration of the track, in seconds | |
| 253 | + * @param double $duration Duration of the track, in seconds | |
| 254 | 254 | * @param string $sk The session key | 
| 255 | 255 | * | 
| 256 | 256 | * @return bool | 
| @@ -57,6 +57,9 @@ | ||
| 57 | 57 | */ | 
| 58 | 58 | protected $secret; | 
| 59 | 59 | |
| 60 | + /** | |
| 61 | + * @param string $endpoint | |
| 62 | + */ | |
| 60 | 63 | public function __construct($key, $secret, $endpoint, Client $client) | 
| 61 | 64 |      { | 
| 62 | 65 | $this->setKey($key); |