Completed
Pull Request — master (#49)
by Daniel
32:38
created
lib/View/ActionBar.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/ActionPerformer.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/Annotations/Action.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/ColumnInterface.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/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.
lib/QueryFactory.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/ActionResponseInterface.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/ActionResponse.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/Column/PropertyColumn.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace Psi\Component\Grid\Column;
6 6
 
7
-use Psi\Component\Grid\CellInterface;
8 7
 use Psi\Component\Grid\ColumnInterface;
9
-use Psi\Component\Grid\GridContext;
10 8
 use Psi\Component\Grid\View\Cell;
11
-use Psi\Component\Grid\View\Header;
12 9
 use Symfony\Component\OptionsResolver\OptionsResolver;
13 10
 use Symfony\Component\PropertyAccess\PropertyAccess;
14 11
 use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
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\Column;
6 6
 
@@ -36,14 +36,14 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $options->setDefault('property', null);
38 38
         $options->setAllowedTypes('property', ['string', 'null']);
39
-        $options->setNormalizer('property', function (OptionsResolver $options, $value) {
39
+        $options->setNormalizer('property', function(OptionsResolver $options, $value) {
40 40
             if (null !== $value) {
41 41
                 return $value;
42 42
             }
43 43
 
44 44
             return $options['column_name'];
45 45
         });
46
-        $options->setNormalizer('sort_field', function (OptionsResolver $options, $value) {
46
+        $options->setNormalizer('sort_field', function(OptionsResolver $options, $value) {
47 47
             if (null !== $value) {
48 48
                 return $value;
49 49
             }
Please login to merge, or discard this patch.