Completed
Pull Request — master (#4)
by Daniel
02:02
created
lib/Metadata/ClassMetadata.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
lib/Metadata/Driver/ArrayDriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Psi\Component\Grid\Metadata\Driver;
4 4
 
5 5
 use Metadata\Driver\AdvancedDriverInterface;
6
-use Psi\Component\ContentType\Metadata\PropertyMetadata;
7 6
 use Psi\Component\Grid\Metadata\ColumnMetadata;
8 7
 use Psi\Component\Grid\Metadata\GridMetadata;
9 8
 use Psi\Component\Grid\Metadata\ClassMetadata;
Please login to merge, or discard this patch.
lib/CellFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Cell/PropertyType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
lib/Cell/ScalarView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Metadata/GridMetadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.