@@ -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){ |
@@ -21,8 +21,6 @@ |
||
| 21 | 21 | use Symfony\Component\Console\Input\InputInterface; |
| 22 | 22 | use Symfony\Component\Console\Input\InputOption; |
| 23 | 23 | use Symfony\Component\Console\Output\OutputInterface; |
| 24 | - |
|
| 25 | - |
|
| 26 | 24 | use OCA\Music\Utility\Scanner; |
| 27 | 25 | |
| 28 | 26 | class Scan extends Command { |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | * |
| 141 | 141 | * @param string|null $albumName name of the album |
| 142 | 142 | * @param string|integer|null $albumYear year of the album release |
| 143 | - * @param integer|null $artistId ID of the album artist |
|
| 143 | + * @param integer|null $albumArtistId ID of the album artist |
|
| 144 | 144 | * @param string $userId the user ID |
| 145 | 145 | * @return Album[] |
| 146 | 146 | */ |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | namespace OCA\Music\Db; |
| 14 | 14 | |
| 15 | -use OCP\AppFramework\Db\DoesNotExistException; |
|
| 16 | 15 | use OCP\AppFramework\Db\Mapper; |
| 17 | 16 | use OCP\IDb; |
| 18 | 17 | |
@@ -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 { |