Passed
Push — master ( 2bfb13...b8de7b )
by De Cramer
02:14
created
src/Oliverde8/Component/RuleEngine/Rules/Condition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $valueToCmp = $this->applyRules($rowData, $transformedData, $options['if'], $options);
23 23
         $value = $this->applyRules($rowData, $transformedData, $options['value'], $options);
24 24
 
25
-        $result = $this->compare($valueToCmp, $value, $options['operation'])? $options['then'] : $options['else'];
25
+        $result = $this->compare($valueToCmp, $value, $options['operation']) ? $options['then'] : $options['else'];
26 26
 
27 27
         return $this->applyRules($rowData, $transformedData, $result, $options);
28 28
     }
Please login to merge, or discard this patch.