@@ -13,12 +13,12 @@ |
||
13 | 13 | */ |
14 | 14 | |
15 | 15 | /** |
16 | - * Parses and sorts a weighed "Accept" HTTP header |
|
17 | - * |
|
18 | - * @param string $header The HTTP "Accept" header to parse |
|
19 | - * |
|
20 | - * @return array Sorted list of "accept" options |
|
21 | - */ |
|
16 | + * Parses and sorts a weighed "Accept" HTTP header |
|
17 | + * |
|
18 | + * @param string $header The HTTP "Accept" header to parse |
|
19 | + * |
|
20 | + * @return array Sorted list of "accept" options |
|
21 | + */ |
|
22 | 22 | $sortAccept = function ($header) { |
23 | 23 | $matches = array(); |
24 | 24 | foreach (explode(',', $header) as $option) { |