@@ -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); |