Skip to content

Commit 2cec914

Browse files
authored
Update supported mime types
1 parent 91b2262 commit 2cec914

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/Enums/MimeType.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
enum MimeType: string
88
{
9-
case APPLICATION_PDF = 'application/pdf';
9+
case FILE_PDF = 'application/pdf'; // Will not rename to APPLICATION_PDF to keep the backwards compatibility
1010
case APPLICATION_JAVASCRIPT = 'application/x-javascript';
1111
case APPLICATION_PYTHON = 'application/x-python';
1212

@@ -23,7 +23,4 @@ enum MimeType: string
2323
case IMAGE_HEIC = 'image/heic';
2424
case IMAGE_HEIF = 'image/heif';
2525
case IMAGE_WEBP = 'image/webp';
26-
27-
// @deprecated
28-
case FILE_PDF = 'application/pdf';
2926
}

0 commit comments

Comments
 (0)