Completed
Push — master ( efd5b5...1cc014 )
by Andrii
02:16
created
src/charge/FormulaChargeModifierTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use hiqdev\php\billing\action\ActionInterface;
14 14
 use hiqdev\php\billing\charge\ChargeInterface;
15
-use hiqdev\php\billing\formula\FormulaInterface;
16 15
 
17 16
 /**
18 17
  * Price with formula
Please login to merge, or discard this patch.
src/charge/modifiers/Discount.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,11 +19,17 @@
 block discarded – undo
19 19
  */
20 20
 class Discount extends Modifier
21 21
 {
22
+    /**
23
+     * @param integer $value
24
+     */
22 25
     public function fixed($value)
23 26
     {
24 27
         return new FixedDiscount($value, $this->addons);
25 28
     }
26 29
 
30
+    /**
31
+     * @param integer $step
32
+     */
27 33
     public function grows($step, $start = null)
28 34
     {
29 35
         return new GrowingDiscount($step, $start, $this->addons);
Please login to merge, or discard this patch.
src/charge/modifiers/FixedDiscount.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 namespace hiqdev\php\billing\charge\modifiers;
12 12
 
13
-use hiqdev\php\billing\action\ActionInterface;
14 13
 use Money\Money;
15 14
 
16 15
 /**
Please login to merge, or discard this patch.