Completed
Pull Request — master (#5)
by Daniel
01:51
created
lib/FilterFormFactory.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
 
@@ -74,6 +74,6 @@  discard block
 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/FilterInterface.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/GridFactory.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/Paginator.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/Grid.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/GridOptions.php 1 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;
6 6
 
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
         }
29 29
 
30 30
         $options = array_merge($defaults, $options);
31
-        $orderings = array_map(function ($order) {
31
+        $orderings = array_map(function($order) {
32 32
             $order = strtolower($order);
33 33
 
34
-            if (false === in_array($order, [ 'asc', 'desc' ])) {
34
+            if (false === in_array($order, ['asc', 'desc'])) {
35 35
                 throw new \InvalidArgumentException(sprintf(
36 36
                     'Order must be either "asc" or "desc" got "%s"',
37 37
                     $order
Please login to merge, or discard this patch.
lib/Table.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
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function getHeaders()
30 30
     {
31 31
         $headers = [];
32
-        foreach(array_keys($this->gridMetadata->getColumns()) as $headerName) {
32
+        foreach (array_keys($this->gridMetadata->getColumns()) as $headerName) {
33 33
             $sort = null;
34 34
             if (isset($this->orderings[$headerName])) {
35 35
                 $sort = $this->orderings[$headerName];
Please login to merge, or discard this patch.
lib/Header.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/Body.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.