From 266fb311806570bb6e8ac7fd9ffc734b1f6f3c6d Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Thu, 17 Aug 2023 09:14:35 +0200 Subject: fix(tests): preview phpunit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- core/Controller/PreviewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Controller/PreviewController.php') 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); } -- cgit v1.2.3