Completed
Pull Request — master (#4023)
by Robin
25:06 queued 10:31
created
apps/dav/lib/Connector/Sabre/File.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,6 +245,9 @@  discard block
 block discarded – undo
245 245
 		return '"' . $this->info->getEtag() . '"';
246 246
 	}
247 247
 
248
+	/**
249
+	 * @param string $path
250
+	 */
248 251
 	private function getPartFileBasePath($path) {
249 252
 		$partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true);
250 253
 		if ($partFileInStorage) {
@@ -607,7 +610,7 @@  discard block
 block discarded – undo
607 610
 	/**
608 611
 	 * Set $algo to get a specific checksum, leave null to get all checksums
609 612
 	 * (space seperated)
610
-	 * @param null $algo
613
+	 * @param string $algo
611 614
 	 * @return string
612 615
 	 */
613 616
 	public function getChecksum($algo = null) {
Please login to merge, or discard this patch.
lib/private/Files/Cache/Cache.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -411,6 +411,9 @@  discard block
 block discarded – undo
411 411
 		}
412 412
 	}
413 413
 
414
+	/**
415
+	 * @param string $path
416
+	 */
414 417
 	private function getParentPath($path) {
415 418
 		$parent = dirname($path);
416 419
 		if ($parent === '.') {
@@ -464,7 +467,7 @@  discard block
 block discarded – undo
464 467
 	/**
465 468
 	 * Recursively remove all children of a folder
466 469
 	 *
467
-	 * @param array $entry the cache entry of the folder to remove the children of
470
+	 * @param ICacheEntry $entry the cache entry of the folder to remove the children of
468 471
 	 * @throws \OC\DatabaseException
469 472
 	 */
470 473
 	private function removeChildren($entry) {
@@ -649,7 +652,7 @@  discard block
 block discarded – undo
649 652
 	 *
650 653
 	 * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image')
651 654
 	 *        where it will search for all mimetypes in the group ('image/*')
652
-	 * @return ICacheEntry[] an array of cache entries where the mimetype matches the search
655
+	 * @return CacheEntry[] an array of cache entries where the mimetype matches the search
653 656
 	 */
654 657
 	public function searchByMime($mimetype) {
655 658
 		if (strpos($mimetype, '/')) {
Please login to merge, or discard this patch.