aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/PreviewController.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-17 09:14:35 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-08-17 18:58:21 +0200
commit266fb311806570bb6e8ac7fd9ffc734b1f6f3c6d (patch)
tree24a3b4f5e3f3ec2a9f17642ed15f1380baab00c6 /core/Controller/PreviewController.php
parent1b67542e0b20d548963087d208c3ee1633e1a5a2 (diff)
downloadnextcloud-server-266fb311806570bb6e8ac7fd9ffc734b1f6f3c6d.tar.gz
nextcloud-server-266fb311806570bb6e8ac7fd9ffc734b1f6f3c6d.zip
fix(tests): preview phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller/PreviewController.php')
-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 4cfc8143491..7adec03814c 100644
--- a/core/Controller/PreviewController.php
+++ b/core/Controller/PreviewController.php
@@ -81,7 +81,7 @@ class PreviewController extends Controller {
bool $a = false,
bool $forceIcon = true,
string $mode = 'fill',
- bool $mimeFallback): Http\Response {
+ bool $mimeFallback = false): Http\Response {
if ($file === '' || $x === 0 || $y === 0) {
return new DataResponse([], Http::STATUS_BAD_REQUEST);
}