File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public static function create(string|self|Format|MediaType $identifier): self
52
52
}
53
53
54
54
try {
55
- $ extension = FileExtension ::from (strtolower ($ identifier ));
55
+ $ extension = self ::from (strtolower ($ identifier ));
56
56
} catch (Error ) {
57
57
try {
58
58
$ extension = MediaType::from (strtolower ($ identifier ))->fileExtension ();
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static function create(string|self|Format|FileExtension $identifier): sel
60
60
}
61
61
62
62
try {
63
- $ type = MediaType ::from (strtolower ($ identifier ));
63
+ $ type = self ::from (strtolower ($ identifier ));
64
64
} catch (Error ) {
65
65
try {
66
66
$ type = FileExtension::from (strtolower ($ identifier ))->mediaType ();
You can’t perform that action at this time.
0 commit comments