@@ -12,7 +12,7 @@ |
||
12 | 12 | public function __construct($name, array $grids) |
13 | 13 | { |
14 | 14 | parent::__construct($name); |
15 | - array_map(function (GridMetadata $grid) { |
|
15 | + array_map(function(GridMetadata $grid) { |
|
16 | 16 | }, $grids); |
17 | 17 | |
18 | 18 | $this->grids = $grids; |
@@ -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 |
@@ -24,8 +24,8 @@ |
||
24 | 24 | parent::configureOptions($options); |
25 | 25 | |
26 | 26 | $options->setDefault('property', null); |
27 | - $options->setAllowedTypes('property', [ 'string', 'null' ]); |
|
28 | - $options->setNormalizer('property', function (OptionsResolver $options, $value) { |
|
27 | + $options->setAllowedTypes('property', ['string', 'null']); |
|
28 | + $options->setNormalizer('property', function(OptionsResolver $options, $value) { |
|
29 | 29 | if (null !== $value) { |
30 | 30 | return $value; |
31 | 31 | } |
@@ -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 |