| @@ -28,6 +28,10 @@ | ||
| 28 | 28 | $this->transcodingService = $transcodingService; | 
| 29 | 29 | } | 
| 30 | 30 | |
| 31 | + /** | |
| 32 | + * @param boolean $transcode | |
| 33 | + * @param integer $bitRate | |
| 34 | + */ | |
| 31 | 35 | public function createStreamer( | 
| 32 | 36 | Song $song, | 
| 33 | 37 | ?bool $transcode = null, | 
| @@ -206,7 +206,7 @@ discard block | ||
| 206 | 206 | * | 
| 207 | 207 | * @param string $artist The artist name | 
| 208 | 208 | * @param string $track The track name | 
| 209 | - * @param string|int $timestamp The UNIX timestamp | |
| 209 | + * @param integer $timestamp The UNIX timestamp | |
| 210 | 210 | * @param string $album The album name | 
| 211 | 211 | * @param string $sk The session key | 
| 212 | 212 | */ | 
| @@ -253,7 +253,7 @@ discard block | ||
| 253 | 253 | * @param string $artist Name of the artist | 
| 254 | 254 | * @param string $track Name of the track | 
| 255 | 255 | * @param string $album Name of the album | 
| 256 | - * @param int|float $duration Duration of the track, in seconds | |
| 256 | + * @param double $duration Duration of the track, in seconds | |
| 257 | 257 | * @param string $sk The session key | 
| 258 | 258 | */ | 
| 259 | 259 | public function updateNowPlaying(string $artist, string $track, string $album, $duration, string $sk): void | 
| @@ -98,6 +98,7 @@ | ||
| 98 | 98 | |
| 99 | 99 | /** | 
| 100 | 100 | * Log a song's sync status to console. | 
| 101 | + * @param string $reason | |
| 101 | 102 | */ | 
| 102 | 103 | public function logSyncStatusToConsole(string $path, int $result, ?string $reason = null): void | 
| 103 | 104 |      { | 
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 | /** | 
| 36 | 36 | * Set a setting (no pun) value. | 
| 37 | 37 | * | 
| 38 | - * @param string|array $key The key of the setting, or an associative array of settings, | |
| 38 | + * @param string $key The key of the setting, or an associative array of settings, | |
| 39 | 39 | * in which case $value will be discarded. | 
| 40 | 40 | * @param mixed $value | 
| 41 | 41 | */ |