Completed
Push — master ( 2f0a37...277b55 )
by Daniel
9s
created
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
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         }
27 27
 
28 28
         $options = array_merge($defaults, $options);
29
-        $options['orderings'] = array_map(function ($order) {
29
+        $options['orderings'] = array_map(function($order) {
30 30
             $order = strtolower($order);
31 31
 
32 32
             if (false === in_array($order, ['asc', 'desc'])) {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     public function getFilterActionOptions(): array
76 76
     {
77
-        return array_filter($this->options, function ($key) {
77
+        return array_filter($this->options, function($key) {
78 78
             return $key !== 'filter';
79 79
         }, ARRAY_FILTER_USE_KEY);
80 80
     }
Please login to merge, or discard this patch.