@@ -9,6 +9,9 @@ |
||
| 9 | 9 | { |
| 10 | 10 | private $grids; |
| 11 | 11 | |
| 12 | + /** |
|
| 13 | + * @param string $name |
|
| 14 | + */ |
|
| 12 | 15 | public function __construct($name, array $grids) |
| 13 | 16 | { |
| 14 | 17 | parent::__construct($name); |
@@ -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 | |
@@ -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,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | $options->setDefault('property', null); |
| 26 | 26 | $options->setAllowedTypes('property', ['string', 'null']); |
| 27 | - $options->setNormalizer('property', function (OptionsResolver $options, $value) { |
|
| 27 | + $options->setNormalizer('property', function(OptionsResolver $options, $value) { |
|
| 28 | 28 | if (null !== $value) { |
| 29 | 29 | return $value; |
| 30 | 30 | } |