Passed
Pull Request — master (#100)
by
unknown
02:41
created
src/price/ProgressivePrice.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@
 block discarded – undo
105 105
             $price = $threshold->price();
106 106
 
107 107
             $chargedAmount = $price->money()
108
-                                   ->multiply((string)(sprintf('%.14F', $billedUsage->getQuantity())))
109
-                                   ->divide((string)(sprintf('%.14F', $price->multiplier())));
108
+                                    ->multiply((string)(sprintf('%.14F', $billedUsage->getQuantity())))
109
+                                    ->divide((string)(sprintf('%.14F', $price->multiplier())));
110 110
 
111 111
             $this->calculationTraces[] = new ProgressivePriceCalculationTrace(
112 112
                 $threshold, $billedUsage, $chargedAmount
Please login to merge, or discard this patch.
src/charge/modifiers/MonthlyCap.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,8 +154,8 @@
 block discarded – undo
154 154
         $chargeQuery = new ChargeDerivativeQuery();
155 155
         $chargeQuery->changeUsage(
156 156
             $this->getCapInHours()
157
-                 ->multiply($coefficient)
158
-                 ->multiply($action->getUsageInterval()->ratioOfMonth())
157
+                    ->multiply($coefficient)
158
+                    ->multiply($action->getUsageInterval()->ratioOfMonth())
159 159
         );
160 160
         $chargeQuery->changeSum($charge->getSum()->multiply($coefficient));
161 161
 
Please login to merge, or discard this patch.