Completed
Pull Request — master (#42)
by Daniel
01:53
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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\Metadata;
6 6
 
@@ -17,10 +17,10 @@  discard block
 block discarded – undo
17 17
     {
18 18
         parent::__construct($name);
19 19
 
20
-        array_map(function (GridMetadata $grid) {
20
+        array_map(function(GridMetadata $grid) {
21 21
             $grid->attachClassMetadata($this);
22 22
         }, $grids);
23
-        array_map(function (QueryMetadata $query) {
23
+        array_map(function(QueryMetadata $query) {
24 24
         }, $queries);
25 25
 
26 26
         $this->grids = $grids;
Please login to merge, or discard this patch.
lib/GridViewFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                     $criteria['criteria'] = $query->getExpression();
55 55
                 } else {
56 56
                     // filter and user criterias need to be combined
57
-                    $criteria['criteria'] = new Composite(Composite::AND, [$query->getExpression(), $criteria['criteria']]);
57
+                    $criteria['criteria'] = new Composite(Composite:: AND , [$query->getExpression(), $criteria['criteria']]);
58 58
                 }
59 59
             }
60 60
         }
Please login to merge, or discard this patch.