Skip to content

Commit d126494

Browse files
elzodybackportbot[bot]
authored andcommitted
chore: fix psalm errors
Signed-off-by: Elizabeth Danzberger <[email protected]>
1 parent ada6fbc commit d126494

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Conversion/ConversionProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ private function getMimeInfoFor(string $targetMimeType): ?array {
168168
if ($mimeType === $targetMimeType) {
169169
return [
170170
'to' => $mimeType,
171-
...$mimeInfo,
171+
'extension' => $mimeInfo['extension'],
172+
'displayName' => $mimeInfo['displayName'],
172173
];
173174
}
174175
}

0 commit comments

Comments
 (0)