@@ -34,8 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * Calculate charge for given price. |
37 | - * @param PriceInterface $action |
|
38 | - * @return ChargeInterface |
|
37 | + * @return null|\hiqdev\php\billing\charge\Charge |
|
39 | 38 | */ |
40 | 39 | public function calculateCharge(PriceInterface $quantity); |
41 | 40 | |
@@ -53,13 +52,13 @@ discard block |
||
53 | 52 | |
54 | 53 | /** |
55 | 54 | * Returns quantity ot this action. |
56 | - * @return QuantityInterface |
|
55 | + * @return \hiqdev\php\units\QuantityInterface |
|
57 | 56 | */ |
58 | 57 | public function getQuantity(); |
59 | 58 | |
60 | 59 | /** |
61 | 60 | * Returns time ot this action. |
62 | - * @return DateTime |
|
61 | + * @return \DateTime |
|
63 | 62 | */ |
64 | 63 | public function getTime(); |
65 | 64 | } |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Finds suitable plans for given order: customer + actions. |
29 | - * @param ActionInterface $action |
|
30 | 29 | * @return PlanInterface[] array: actionKey => plan |
31 | 30 | */ |
32 | 31 | public function findByOrder(OrderInterface $order); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return string |
|
45 | + * @return boolean |
|
46 | 46 | */ |
47 | 47 | public function equals(TypeInterface $other) |
48 | 48 | { |