@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\ApiHttp\Negotiation; |
| 6 | 6 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | $values[$mediaType] = $attributes; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - uasort($values, function (array $a, array $b) { |
|
| 71 | + uasort($values, function(array $a, array $b) { |
|
| 72 | 72 | return $b['q'] <=> $a['q']; |
| 73 | 73 | }); |
| 74 | 74 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\ApiHttp\Negotiation; |
| 6 | 6 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | $values[$locale] = $attributes; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | - uasort($values, function (array $a, array $b) { |
|
| 71 | + uasort($values, function(array $a, array $b) { |
|
| 72 | 72 | return $b['q'] <=> $a['q']; |
| 73 | 73 | }); |
| 74 | 74 | |