aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/ViewController.php
diff options
context:
space:
mode:
authorMax Kovalenko <mxss1998@yandex.ru>2019-05-27 08:54:09 +0300
committerMax Kovalenko <mxss1998@yandex.ru>2019-05-27 09:04:05 +0300
commita83b79c5f8ab20ed9b4d751167417a65fa3c42b8 (patch)
treee6f97ac1b0a05b41908f11ca76e4ec0fefa7de08 /apps/files/lib/Controller/ViewController.php
parenta8ddf3471ea054dcaa418901a20f16cc92764a61 (diff)
downloadnextcloud-server-a83b79c5f8ab20ed9b4d751167417a65fa3c42b8.tar.gz
nextcloud-server-a83b79c5f8ab20ed9b4d751167417a65fa3c42b8.zip
misc phpdoc fixes
Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
Diffstat (limited to 'apps/files/lib/Controller/ViewController.php')
-rw-r--r--apps/files/lib/Controller/ViewController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php
index 9f9cd0b33c1..34e4427129d 100644
--- a/apps/files/lib/Controller/ViewController.php
+++ b/apps/files/lib/Controller/ViewController.php
@@ -135,6 +135,7 @@ class ViewController extends Controller {
*
* @param string $fileid
* @return TemplateResponse|RedirectResponse
+ * @throws NotFoundException
*/
public function showFile(string $fileid = null): Response {
// This is the entry point from the `/f/{fileid}` URL which is hardcoded in the server.
@@ -148,7 +149,9 @@ class ViewController extends Controller {
* @param string $dir
* @param string $view
* @param string $fileid
+ * @param bool $fileNotFound
* @return TemplateResponse|RedirectResponse
+ * @throws NotFoundException
*/
public function index($dir = '', $view = '', $fileid = null, $fileNotFound = false) {
if ($fileid !== null) {