Skip to content

Commit

Permalink
refactor: use static method for supported MIME types
Browse files Browse the repository at this point in the history
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
  • Loading branch information
ernolf committed Jul 17, 2024
1 parent ce7ba6d commit 9f48093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Preview/ImaginaryPDF.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace OC\Preview;

class ImaginaryPDF extends Imaginary {
public function getMimeType(): string {
public static function supportedMimeTypes(): string {
return '/application\/pdf/';
}
}

0 comments on commit 9f48093

Please sign in to comment.