@@ -12,7 +12,6 @@ |
||
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 |
@@ -19,11 +19,17 @@ |
||
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); |
@@ -10,7 +10,6 @@ |
||
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 | /** |