diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-06-08 00:30:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 00:30:59 +0300 |
commit | 2ae60b42ab87152d8b918aa289c974c42d267113 (patch) | |
tree | 71e87e066471b6e9e491470a60d666cce5771798 /core/Controller | |
parent | ae4907b6c95b7ac5d36ef358048c7acafd517c07 (diff) | |
parent | 7990f95558ac2b7fac3b9f77dcbdc3c74b05785b (diff) |
Merge pull request #26494 from rigrig/fix-php8-deprecations
Fix some php 8 warnings
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/PreviewController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/PreviewController.php b/core/Controller/PreviewController.php index e1bfa01b238..1224ea39877 100644 --- a/core/Controller/PreviewController.php +++ b/core/Controller/PreviewController.php @@ -155,8 +155,8 @@ class PreviewController extends Controller { Node $node, int $x, int $y, - bool $a = false, - bool $forceIcon = true, + bool $a, + bool $forceIcon, string $mode) : Http\Response { if (!($node instanceof File) || (!$forceIcon && !$this->preview->isAvailable($node))) { return new DataResponse([], Http::STATUS_NOT_FOUND); |