@@ -322,6 +322,7 @@ |
||
322 | 322 | * @param string $error_msg The error message to show |
323 | 323 | * @param string $hint An optional hint message - needs to be properly escaped |
324 | 324 | * @param int HTTP Status Code |
325 | + * @param integer $httpStatusCode |
|
325 | 326 | */ |
326 | 327 | public static function printErrorPage($error_msg, $hint = '', $httpStatusCode = null) { |
327 | 328 | if ($error_msg === $hint) { |
@@ -190,6 +190,7 @@ |
||
190 | 190 | |
191 | 191 | /** |
192 | 192 | * @param string $path |
193 | + * @param string $token |
|
193 | 194 | */ |
194 | 195 | function publicPreview_icon ($path, $token) { |
195 | 196 | return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_public_preview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | /** |
68 | 68 | * Search for files by mimetype |
69 | 69 | * @param string $mimetype |
70 | - * @return array |
|
70 | + * @return \OC\Files\FileInfo[] |
|
71 | 71 | * @since 6.0.0 |
72 | 72 | */ |
73 | 73 | static public function searchByMime($mimetype) { |