Completed
Push — scalability_improvements ( 533a22...1f54dd )
by Pauli
13:32
created
businesslayer/albumbusinesslayer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@
 block discarded – undo
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){
Please login to merge, or discard this patch.
command/scan.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
appframework/businesslayer/businesslayer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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 {
Please login to merge, or discard this patch.
controller/playlistapicontroller.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -124,6 +124,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
utility/scanner.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -345,6 +345,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.