summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-12-03 19:09:37 +0100
committerGitHub <noreply@github.com>2022-12-03 19:09:37 +0100
commit23f336761e2c3603ffb2e4785019329415a92a64 (patch)
treeb7acbe881378df9bf80fe26f17a52a8f56687b99 /core/Controller
parent53f2519a6c6cc3fc53a90bed04109999afee1e0f (diff)
parent136b2c59493c4d4514da9c7e0b9febb6b3632301 (diff)
downloadnextcloud-server-23f336761e2c3603ffb2e4785019329415a92a64.tar.gz
nextcloud-server-23f336761e2c3603ffb2e4785019329415a92a64.zip
Merge pull request #35385 from pulsejet/patch-previewtype
Fix type of PreviewController::$userId
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/PreviewController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php
index 9b3acaae013..118f1b47752 100644
--- a/core/Controller/PreviewController.php
+++ b/core/Controller/PreviewController.php
@@ -40,7 +40,7 @@ use OCP\IPreview;
use OCP\IRequest;
class PreviewController extends Controller {
- private string $userId;
+ private ?string $userId;
private IRootFolder $root;
private IPreview $preview;