Completed
Pull Request — master (#5)
by Daniel
10:04 queued 08:01
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/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.
lib/Cell/PropertyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
lib/GridOptions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         $this->variant = $options['variant'];
34 34
     }
35 35
 
36
+    /**
37
+     * @return integer
38
+     */
36 39
     public function getCurrentPage()
37 40
     {
38 41
         return $this->currentPage;
Please login to merge, or discard this patch.
lib/Metadata/FilterMetadata.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/FilterFormFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,6 @@
 block discarded – undo
74 74
             $expressions[] = $filter->getExpression($field, $filterData);
75 75
         }
76 76
 
77
-        return new Composite(Composite::AND, $expressions);
77
+        return new Composite(Composite:: AND , $expressions);
78 78
     }
79 79
 }
Please login to merge, or discard this patch.
lib/FilterRegistry.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/Filter/BooleanFilterData.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.