Completed
Push — master ( 9f1cb3...cf412b )
by Kamil
24:31
created
src/Sylius/Component/Grid/Filter/DateFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
         $from = isset($data['from']) ? $this->getDateTime($data['from']) : null;
36 36
         if (null !== $from) {
37
-            $inclusive = (bool)$this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
37
+            $inclusive = (bool) $this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
38 38
             if (true === $inclusive) {
39 39
                 $expressionBuilder->greaterThanOrEqual($field, $from);
40 40
             } else {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
         $to = isset($data['to']) ? $this->getDateTime($data['to']) : null;
46 46
         if (null !== $to) {
47
-            $inclusive = (bool)$this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
47
+            $inclusive = (bool) $this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
48 48
             if (true === $inclusive) {
49 49
                 $expressionBuilder->lessThanOrEqual($field, $to);
50 50
             } else {
@@ -81,6 +81,6 @@  discard block
 block discarded – undo
81 81
             return $data['date'];
82 82
         }
83 83
 
84
-        return $data['date'].' '.$data['time'];
84
+        return $data['date'] . ' ' . $data['time'];
85 85
     }
86 86
 }
Please login to merge, or discard this patch.