Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make adjustments based on the review
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
  • Loading branch information
shdehnavi and nickvergessen committed Jul 14, 2023
commit 7e4ca27097a0f56590d6bc3670d40d1ef86c460b
2 changes: 1 addition & 1 deletion core/Controller/PreviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getPreviewByFileId(
int $y = 32,
bool $a = false,
bool $forceIcon = true,
string $mode = 'fill'): DataResponse|Response|FileDisplayResponse {
string $mode = 'fill'): DataResponse|FileDisplayResponse {
if ($fileId === -1 || $x === 0 || $y === 0) {
return new DataResponse([], Http::STATUS_BAD_REQUEST);
}
Expand Down