File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public function isGuesserSupported(): bool;
26
26
/**
27
27
* Guesses the MIME type of the file with the given path.
28
28
*
29
- * @return string|null The MIME type or null, if none could be guessed
29
+ * @return string|null
30
30
*
31
31
* @throws \LogicException If the guesser is not supported
32
32
* @throws \InvalidArgumentException If the file does not exist or is not readable
Original file line number Diff line number Diff line change 17
17
interface MimeTypesInterface extends MimeTypeGuesserInterface
18
18
{
19
19
/**
20
- * Gets the extensions for the given MIME type.
20
+ * Gets the extensions for the given MIME type in decreasing order of preference .
21
21
*
22
- * @return string[] an array of extensions (first one is the preferred one)
22
+ * @return string[]
23
23
*/
24
24
public function getExtensions (string $ mimeType ): array ;
25
25
26
26
/**
27
- * Gets the MIME types for the given extension.
27
+ * Gets the MIME types for the given extension in decreasing order of preference .
28
28
*
29
- * @return string[] an array of MIME types (first one is the preferred one)
29
+ * @return string[]
30
30
*/
31
31
public function getMimeTypes (string $ ext ): array ;
32
32
}
You can’t perform that action at this time.
0 commit comments