@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\Grid\Cell; |
6 | 6 |
@@ -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\View; |
6 | 6 | |
@@ -25,14 +25,14 @@ discard block |
||
25 | 25 | |
26 | 26 | public function getUrlParametersForFilter() |
27 | 27 | { |
28 | - return array_filter($this->options->getUrlParameters(), function ($key) { |
|
28 | + return array_filter($this->options->getUrlParameters(), function($key) { |
|
29 | 29 | return $key !== 'filter'; |
30 | 30 | }, ARRAY_FILTER_USE_KEY); |
31 | 31 | } |
32 | 32 | |
33 | 33 | public function getFilterUrlParameters() |
34 | 34 | { |
35 | - return array_filter($this->options->getUrlParameters(), function ($key) { |
|
35 | + return array_filter($this->options->getUrlParameters(), function($key) { |
|
36 | 36 | return $key === 'filter'; |
37 | 37 | }, ARRAY_FILTER_USE_KEY); |
38 | 38 | } |
@@ -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\Filter; |
6 | 6 | |
@@ -33,11 +33,11 @@ discard block |
||
33 | 33 | |
34 | 34 | private function getChoices(array $supportedComparators, array $enabledComparators) |
35 | 35 | { |
36 | - $supported = array_keys(array_filter($this->getComparatorMap(), function ($comparator) use ($supportedComparators) { |
|
36 | + $supported = array_keys(array_filter($this->getComparatorMap(), function($comparator) use ($supportedComparators) { |
|
37 | 37 | return in_array($comparator, $supportedComparators); |
38 | 38 | })); |
39 | 39 | |
40 | - $supported = array_filter($supported, function ($comparator) use ($enabledComparators) { |
|
40 | + $supported = array_filter($supported, function($comparator) use ($enabledComparators) { |
|
41 | 41 | return in_array($comparator, $enabledComparators); |
42 | 42 | }); |
43 | 43 |