aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r--apps/files_sharing/lib/Controller/ShareInfoController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareInfoController.php b/apps/files_sharing/lib/Controller/ShareInfoController.php
index 429eb91bc92..b090e6efcf1 100644
--- a/apps/files_sharing/lib/Controller/ShareInfoController.php
+++ b/apps/files_sharing/lib/Controller/ShareInfoController.php
@@ -61,11 +61,11 @@ class ShareInfoController extends ApiController {
* @BruteForceProtection(action=shareinfo)
*
* @param string $t
- * @param null $password
- * @param null $dir
+ * @param ?string $password
+ * @param ?string $dir
* @return JSONResponse
*/
- public function info($t, $password = null, $dir = null) {
+ public function info(string $t, ?string $password = null, ?string $dir = null) {
try {
$share = $this->shareManager->getShareByToken($t);
} catch (ShareNotFound $e) {