@@ -57,6 +57,7 @@ |
||
| 57 | 57 | /** |
| 58 | 58 | * Returns all albums filtered by artist |
| 59 | 59 | * @param string $artistId the id of the artist |
| 60 | + * @param string $userId |
|
| 60 | 61 | * @return Album[] albums |
| 61 | 62 | */ |
| 62 | 63 | public function findAllByArtist($artistId, $userId){ |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * @param string $userId the name of the user for security reasons |
| 47 | 47 | * @throws DoesNotExistException if the entity does not exist |
| 48 | 48 | * @throws MultipleObjectsReturnedException if more than one entity exists |
| 49 | - * @return Entity the entity |
|
| 49 | + * @return \OCA\Music\Db\Artist the entity |
|
| 50 | 50 | */ |
| 51 | 51 | public function find($id, $userId){ |
| 52 | 52 | try { |
@@ -124,6 +124,9 @@ discard block |
||
| 124 | 124 | } |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | + /** |
|
| 128 | + * @param Playlist $playlist |
|
| 129 | + */ |
|
| 127 | 130 | private function toFullTree($playlist) { |
| 128 | 131 | $songs = []; |
| 129 | 132 | |
@@ -191,6 +194,7 @@ discard block |
||
| 191 | 194 | * Modify playlist by calling a supplied method from PlaylistBusinessLayer |
| 192 | 195 | * @param string funcName Name of a function to call from PlaylistBusinessLayer |
| 193 | 196 | * @param array $funcParams Parameters to pass to the function 'funcName' |
| 197 | + * @param string $funcName |
|
| 194 | 198 | * @return \OCP\AppFramework\Http\JSONResponse JSON representation of the modified playlist |
| 195 | 199 | */ |
| 196 | 200 | private function modifyPlaylist($funcName, $funcParams) { |
@@ -345,6 +345,7 @@ |
||
| 345 | 345 | |
| 346 | 346 | /** |
| 347 | 347 | * Scan the filebase of the given user for unindexed music files and add those to the database. |
| 348 | + * @param integer $maxTracksToProcess |
|
| 348 | 349 | */ |
| 349 | 350 | private function doRescan($userId, $userHome, $maxTracksToProcess, OutputInterface $debugOutput = null) { |
| 350 | 351 | // back up the execution time limit |