diff options
Diffstat (limited to 'apps/files/lib/Controller/ViewController.php')
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 3 |
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) { |