Skip to content

Commit de3c2e3

Browse files
committed
Add support for structured MIME suffix formats and subtype fallbacks in Request::getFormat().
1 parent 9346662 commit de3c2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ protected static function initializeFormats(): void
19581958
* @see https://datatracker.ietf.org/doc/html/rfc6839
19591959
* @see https://datatracker.ietf.org/doc/html/rfc7303
19601960
*
1961-
* @return list<string>
1961+
* @return array<string, string>
19621962
*/
19631963
private static function getStructuredSuffixFormats(): array
19641964
{

0 commit comments

Comments
 (0)