@@ -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 Psi\Component\Grid; |
6 | 6 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | $options = array_merge($defaults, $options); |
29 | - $options['orderings'] = array_map(function ($order) { |
|
29 | + $options['orderings'] = array_map(function($order) { |
|
30 | 30 | $order = strtolower($order); |
31 | 31 | |
32 | 32 | if (false === in_array($order, ['asc', 'desc'])) { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | public function getFilterActionOptions(): array |
76 | 76 | { |
77 | - return array_filter($this->options, function ($key) { |
|
77 | + return array_filter($this->options, function($key) { |
|
78 | 78 | return $key !== 'filter'; |
79 | 79 | }, ARRAY_FILTER_USE_KEY); |
80 | 80 | } |