@@ -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 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * Aggregates given charges to Bills. |
| 20 | - * @param Charge[] $charge array (can be nested) of charges |
|
| 20 | + * @param Charge[] $charges array (can be nested) of charges |
|
| 21 | 21 | * @return Bill[] |
| 22 | 22 | */ |
| 23 | 23 | public function aggregateCharges(array $charges); |
@@ -33,8 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Calculate charge for given price. |
| 36 | - * @param PriceInterface $action |
|
| 37 | - * @return ChargeInterface |
|
| 36 | + * @return null|\hiqdev\php\billing\charge\Charge |
|
| 38 | 37 | */ |
| 39 | 38 | public function calculateCharge(PriceInterface $quantity); |
| 40 | 39 | |
@@ -52,19 +51,19 @@ discard block |
||
| 52 | 51 | |
| 53 | 52 | /** |
| 54 | 53 | * Returns type ot this action. |
| 55 | - * @return TypeInterface |
|
| 54 | + * @return \hiqdev\php\billing\type\TypeInterface |
|
| 56 | 55 | */ |
| 57 | 56 | public function getType(); |
| 58 | 57 | |
| 59 | 58 | /** |
| 60 | 59 | * Returns quantity ot this action. |
| 61 | - * @return QuantityInterface |
|
| 60 | + * @return \hiqdev\php\units\QuantityInterface |
|
| 62 | 61 | */ |
| 63 | 62 | public function getQuantity(); |
| 64 | 63 | |
| 65 | 64 | /** |
| 66 | 65 | * Returns time ot this action. |
| 67 | - * @return DateTimeImmutable |
|
| 66 | + * @return \DateTimeImmutable |
|
| 68 | 67 | */ |
| 69 | 68 | public function getTime(); |
| 70 | 69 | } |