diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 09:14:35 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:58:21 +0200 |
commit | 266fb311806570bb6e8ac7fd9ffc734b1f6f3c6d (patch) | |
tree | 24a3b4f5e3f3ec2a9f17642ed15f1380baab00c6 /core/Controller/PreviewController.php | |
parent | 1b67542e0b20d548963087d208c3ee1633e1a5a2 (diff) | |
download | nextcloud-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.php | 2 |
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); } |