@@ -10,8 +10,6 @@ |
||
10 | 10 | |
11 | 11 | namespace hiqdev\php\billing; |
12 | 12 | |
13 | -use Money\Currency; |
|
14 | - |
|
15 | 13 | /** |
16 | 14 | * Purse. |
17 | 15 | * |
@@ -30,8 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Calculate charge for given price. |
33 | - * @param PriceInterface $action |
|
34 | - * @return ChargeInterface |
|
33 | + * @return null|Charge |
|
35 | 34 | */ |
36 | 35 | public function calculateCharge(PriceInterface $quantity); |
37 | 36 | |
@@ -49,13 +48,13 @@ discard block |
||
49 | 48 | |
50 | 49 | /** |
51 | 50 | * Returns quantity ot this action. |
52 | - * @return QuantityInterface |
|
51 | + * @return \hiqdev\php\units\QuantityInterface |
|
53 | 52 | */ |
54 | 53 | public function getQuantity(); |
55 | 54 | |
56 | 55 | /** |
57 | 56 | * Returns time ot this action. |
58 | - * @return DateTime |
|
57 | + * @return \DateTime |
|
59 | 58 | */ |
60 | 59 | public function getTime(); |
61 | 60 | } |
@@ -22,7 +22,6 @@ |
||
22 | 22 | class SimpleAction extends AbstractAction |
23 | 23 | { |
24 | 24 | /** |
25 | - * @param mixed $id |
|
26 | 25 | * @param CustomerInterface $customer |
27 | 26 | * @param TargetInterface $target |
28 | 27 | * @param QuantityInterface $quantity |