Completed
Pull Request — master (#3360)
by Robin
09:19
created
apps/dav/lib/Files/FileSearchBackend.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -104,6 +104,10 @@
 block discarded – undo
104 104
 		}
105 105
 	}
106 106
 
107
+	/**
108
+	 * @param string $href
109
+	 * @param string $path
110
+	 */
107 111
 	public function getPropertyDefinitionsForScope($href, $path) {
108 112
 		// all valid scopes support the same schema
109 113
 
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
@@ -420,6 +420,9 @@  discard block
 block discarded – undo
420 420
 		}
421 421
 	}
422 422
 
423
+	/**
424
+	 * @param string $path
425
+	 */
423 426
 	private function getParentPath($path) {
424 427
 		$parent = dirname($path);
425 428
 		if ($parent === '.') {
@@ -598,7 +601,7 @@  discard block
 block discarded – undo
598 601
 	 * search for files matching $pattern
599 602
 	 *
600 603
 	 * @param string $pattern the search pattern using SQL search syntax (e.g. '%searchstring%')
601
-	 * @return ICacheEntry[] an array of cache entries where the name matches the search pattern
604
+	 * @return CacheEntry[] an array of cache entries where the name matches the search pattern
602 605
 	 */
603 606
 	public function search($pattern) {
604 607
 		// normalize pattern
@@ -639,7 +642,7 @@  discard block
 block discarded – undo
639 642
 	 *
640 643
 	 * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image')
641 644
 	 *        where it will search for all mimetypes in the group ('image/*')
642
-	 * @return ICacheEntry[] an array of cache entries where the mimetype matches the search
645
+	 * @return CacheEntry[] an array of cache entries where the mimetype matches the search
643 646
 	 */
644 647
 	public function searchByMime($mimetype) {
645 648
 		if (strpos($mimetype, '/')) {
Please login to merge, or discard this patch.
lib/private/Lockdown/Filesystem/NullCache.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use OC\Files\Cache\CacheEntry;
23 23
 use OCP\Constants;
24 24
 use OCP\Files\Cache\ICache;
25
-use OCP\Files\Cache\ICacheEntry;
26 25
 use OCP\Files\FileInfo;
27 26
 use OCP\Files\Search\ISearchQuery;
28 27
 
Please login to merge, or discard this patch.