Completed
Push — master ( 277b55...01a84f )
by Daniel
03:48 queued 01:55
created
lib/FilterForm.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.
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.