We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d73ccf5 commit 42b8d2cCopy full SHA for 42b8d2c
src/FileExtension.php
@@ -52,7 +52,7 @@ public static function create(string|self|Format|MediaType $identifier): self
52
}
53
54
try {
55
- $extension = FileExtension::from(strtolower($identifier));
+ $extension = self::from(strtolower($identifier));
56
} catch (Error) {
57
58
$extension = MediaType::from(strtolower($identifier))->fileExtension();
src/MediaType.php
@@ -60,7 +60,7 @@ public static function create(string|self|Format|FileExtension $identifier): sel
60
61
62
63
- $type = MediaType::from(strtolower($identifier));
+ $type = self::from(strtolower($identifier));
64
65
66
$type = FileExtension::from(strtolower($identifier))->mediaType();
0 commit comments