Completed
Push — scanner_improvements ( 4bed41 )
by Pauli
10:32
created
db/albummapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	/**
145 145
 	 * @param integer $coverFileId
146 146
 	 * @param integer $folderId
147
-	 * @return true if one or more albums were influenced
147
+	 * @return boolean if one or more albums were influenced
148 148
 	 */
149 149
 	public function updateFolderCover($coverFileId, $folderId){
150 150
 		$sql = 'UPDATE `*PREFIX*music_albums`
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
 	/**
228 228
 	 * @param integer $albumId
229 229
 	 * @param integer $parentFolderId
230
-	 * @return true if a cover image was found and added for the album
230
+	 * @return boolean if a cover image was found and added for the album
231 231
 	 */
232 232
 	public function findAlbumCover($albumId, $parentFolderId){
233 233
 		$return = false;
Please login to merge, or discard this patch.
utility/scanner.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -253,6 +253,9 @@  discard block
 block discarded – undo
253 253
 		return self::getId3Tag($fileInfo, 'picture');
254 254
 	}
255 255
 
256
+	/**
257
+	 * @param string $userId
258
+	 */
256 259
 	private function deleteAudio($fileIds, $userId=null){
257 260
 		$this->logger->log('deleteAudio - '. implode(', ', $fileIds) , 'debug');
258 261
 		$this->emit('\OCA\Music\Utility\Scanner', 'delete', array($fileIds, $userId));
@@ -284,6 +287,9 @@  discard block
 block discarded – undo
284 287
 		return $result !== false; // true if anything was removed
285 288
 	}
286 289
 
290
+	/**
291
+	 * @param string $userId
292
+	 */
287 293
 	private function deleteImage($fileIds, $userId=null){
288 294
 		$this->logger->log('deleteImage - '. implode(', ', $fileIds) , 'debug');
289 295
 
Please login to merge, or discard this patch.