| @@ -1,5 +1,5 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | -declare(strict_types=1); | |
| 2 | +declare(strict_types = 1); | |
| 3 | 3 | |
| 4 | 4 | namespace ReadModel\Filters; | 
| 5 | 5 | |
| @@ -106,11 +106,11 @@ discard block | ||
| 106 | 106 | return [$this->defaultOrder]; | 
| 107 | 107 | } | 
| 108 | 108 | |
| 109 | -        $orders = array_map(function (string $order) { | |
| 109 | +        $orders = array_map(function(string $order) { | |
| 110 | 110 | return new OrderBy(trim($order)); | 
| 111 | 111 |          }, explode(',', $order)); | 
| 112 | 112 | |
| 113 | -        return array_filter($orders, function (OrderBy $orderBy) { | |
| 113 | +        return array_filter($orders, function(OrderBy $orderBy) { | |
| 114 | 114 | return in_array($orderBy->field(), $this->ordersBy); | 
| 115 | 115 | }); | 
| 116 | 116 | } |