Completed
Pull Request — master (#73)
by Daniel
02:04
created
lib/Filter/BooleanFilter.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/NumberFilter.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/StringFilter.php 1 patch
Spacing   +5 added lines, -5 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\Filter;
6 6
 
@@ -93,13 +93,13 @@  discard block
 block discarded – undo
93 93
             case self::TYPE_NOT_EMPTY:
94 94
                 return;
95 95
             case self::TYPE_CONTAINS:
96
-                return '%' . $value . '%';
96
+                return '%'.$value.'%';
97 97
             case self::TYPE_NOT_CONTAINS:
98
-                return '%' . $value . '%';
98
+                return '%'.$value.'%';
99 99
             case self::TYPE_STARTS_WITH:
100
-                return $value . '%';
100
+                return $value.'%';
101 101
             case self::TYPE_ENDS_WITH:
102
-                return '%' . $value;
102
+                return '%'.$value;
103 103
             case self::TYPE_IN:
104 104
                 return array_map('trim', explode(',', $value));
105 105
             case self::TYPE_NOT_IN:
Please login to merge, or discard this patch.
lib/Filter/DateFilter.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/FilterData.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/ChoiceFilter.php 1 patch
Spacing   +5 added lines, -5 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\Filter;
6 6
 
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
         $options->setDefault('expanded', false);
62 62
         $options->setDefault('multiple', false);
63 63
 
64
-        $options->setAllowedTypes('choices', [ 'array' ]);
65
-        $options->setAllowedTypes('placeholder', [ 'string', 'null' ]);
66
-        $options->setAllowedTypes('expanded', [ 'bool' ]);
67
-        $options->setAllowedTypes('multiple', [ 'bool' ]);
64
+        $options->setAllowedTypes('choices', ['array']);
65
+        $options->setAllowedTypes('placeholder', ['string', 'null']);
66
+        $options->setAllowedTypes('expanded', ['bool']);
67
+        $options->setAllowedTypes('multiple', ['bool']);
68 68
 
69 69
     }
70 70
 }
Please login to merge, or discard this patch.