diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-07-02 22:25:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 22:25:41 +0200 |
commit | 0d0850746ef37f378215d7605d91b8e8a2ec6d84 (patch) | |
tree | ba33d16c18009e30a5a320bb9fa54096cb5a6534 /apps/files/lib/Controller/ViewController.php | |
parent | 63c64bf042b2b34450afc210a73ec7e6d2cbfa80 (diff) | |
parent | a83b79c5f8ab20ed9b4d751167417a65fa3c42b8 (diff) | |
download | nextcloud-server-0d0850746ef37f378215d7605d91b8e8a2ec6d84.tar.gz nextcloud-server-0d0850746ef37f378215d7605d91b8e8a2ec6d84.zip |
Merge pull request #15741 from mxss/fix/phpdoc-fixes
misc phpdoc fixes
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 49f1818780b..1bcc3e4c7f9 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -136,6 +136,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. @@ -153,7 +154,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) { |