We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91b2262 commit 2cec914Copy full SHA for 2cec914
1 file changed
src/Enums/MimeType.php
@@ -6,7 +6,7 @@
6
7
enum MimeType: string
8
{
9
- case APPLICATION_PDF = 'application/pdf';
+ case FILE_PDF = 'application/pdf'; // Will not rename to APPLICATION_PDF to keep the backwards compatibility
10
case APPLICATION_JAVASCRIPT = 'application/x-javascript';
11
case APPLICATION_PYTHON = 'application/x-python';
12
@@ -23,7 +23,4 @@ enum MimeType: string
23
case IMAGE_HEIC = 'image/heic';
24
case IMAGE_HEIF = 'image/heif';
25
case IMAGE_WEBP = 'image/webp';
26
-
27
- // @deprecated
28
- case FILE_PDF = 'application/pdf';
29
}
0 commit comments