@@ -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; |
6 | 6 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $options = array_merge($defaults, $options); |
33 | 33 | |
34 | 34 | // normalize the orderings |
35 | - $options['orderings'] = array_map(function ($order) { |
|
35 | + $options['orderings'] = array_map(function($order) { |
|
36 | 36 | $order = strtolower($order); |
37 | 37 | |
38 | 38 | if (false === in_array($order, ['asc', 'desc'])) { |
@@ -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 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | { |
36 | 36 | if (null === $this->numberOfRecords) { |
37 | 37 | throw new \RuntimeException( |
38 | - 'Cannot determine the last page when the total number of ' . |
|
38 | + 'Cannot determine the last page when the total number of '. |
|
39 | 39 | 'records has not been provided.' |
40 | 40 | ); |
41 | 41 | } |
@@ -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\Cell; |
6 | 6 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | $options->setDefault('property', null); |
28 | 28 | $options->setAllowedTypes('property', ['string', 'null']); |
29 | - $options->setNormalizer('property', function (OptionsResolver $options, $value) { |
|
29 | + $options->setNormalizer('property', function(OptionsResolver $options, $value) { |
|
30 | 30 | if (null !== $value) { |
31 | 31 | return $value; |
32 | 32 | } |
@@ -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; |
6 | 6 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | public function getUrlParametersForFilter() |
26 | 26 | { |
27 | - return array_filter($this->options->getUrlParameters(), function ($key) { |
|
27 | + return array_filter($this->options->getUrlParameters(), function($key) { |
|
28 | 28 | return $key !== 'filter'; |
29 | 29 | }, ARRAY_FILTER_USE_KEY); |
30 | 30 | } |