Completed
Pull Request — master (#20)
by Daniel
03:28 queued 01:28
created
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/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.
lib/GridContext.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
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $options = array_merge($defaults, $options);
33 33
 
34 34
         // normalize the orderings
35
-        $options['orderings'] = array_map(function ($order) {
35
+        $options['orderings'] = array_map(function($order) {
36 36
             $order = strtolower($order);
37 37
 
38 38
             if (false === in_array($order, ['asc', 'desc'])) {
Please login to merge, or discard this patch.
lib/Paginator.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
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         if (null === $this->numberOfRecords) {
37 37
             throw new \RuntimeException(
38
-                'Cannot determine the last page when the total number of ' .
38
+                'Cannot determine the last page when the total number of '.
39 39
                 'records has not been provided.'
40 40
             );
41 41
         }
Please login to merge, or discard this patch.
lib/Cell/PropertyCell.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\Cell;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
         $options->setDefault('property', null);
28 28
         $options->setAllowedTypes('property', ['string', 'null']);
29
-        $options->setNormalizer('property', function (OptionsResolver $options, $value) {
29
+        $options->setNormalizer('property', function(OptionsResolver $options, $value) {
30 30
             if (null !== $value) {
31 31
                 return $value;
32 32
             }
Please login to merge, or discard this patch.
lib/Cell/View/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/CellRegistry.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/FilterBar.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
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function getUrlParametersForFilter()
26 26
     {
27
-        return array_filter($this->options->getUrlParameters(), function ($key) {
27
+        return array_filter($this->options->getUrlParameters(), function($key) {
28 28
             return $key !== 'filter';
29 29
         }, ARRAY_FILTER_USE_KEY);
30 30
     }
Please login to merge, or discard this patch.