Completed
Pull Request — master (#26143)
by Jörn Friedrich
33:54
created
lib/public/Files.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,6 +46,7 @@  discard block
 block discarded – undo
46 46
 class Files {
47 47
 	/**
48 48
 	 * Recusive deletion of folders
49
+	 * @param string $dir
49 50
 	 * @return bool
50 51
 	 * @since 5.0.0
51 52
 	 */
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
 	 * Get the pathinfo of a path with special handling for tar.(gz|bz2) which
69 70
 	 * have different mimetypes
70 71
 	 * @param string $path
71
-	 * @return array|string|null
72
+	 * @param integer $options
73
+	 * @return string
72 74
 	 * @since 9.2.0
73 75
 	 */
74 76
 	static function pathinfo( $path, $options = null ) {
@@ -105,7 +107,7 @@  discard block
 block discarded – undo
105 107
 	/**
106 108
 	 * Search for files by mimetype
107 109
 	 * @param string $mimetype
108
-	 * @return array
110
+	 * @return \OC\Files\FileInfo[]
109 111
 	 * @since 6.0.0
110 112
 	 */
111 113
 	static public function searchByMime( $mimetype ) {
Please login to merge, or discard this patch.