Failed Conditions
Pull Request — master (#32)
by Moesjarraf
09:36
created
src/DataEnricher/Processor/DateFormat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $instruction = $node->getInstruction($this);
23 23
         
24
-        if(!isset($instruction->date) && !isset($instruction->input)) {
24
+        if (!isset($instruction->date) && !isset($instruction->input)) {
25 25
             return;
26 26
         }
27 27
         
Please login to merge, or discard this patch.
src/DataEnricher/Processor/NumberFormat.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
         }
43 43
         
44 44
         $result = $currency ?
45
-            $number->formatCurrency($instruction->input, $currency) :
46
-            $number->format($instruction->input);
45
+            $number->formatCurrency($instruction->input, $currency) : $number->format($instruction->input);
47 46
         
48 47
         $node->setResult($result);
49 48
     }
Please login to merge, or discard this patch.