@@ -17,6 +17,9 @@ |
||
17 | 17 | */ |
18 | 18 | abstract class AbstractTarget implements TargetInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @param string $type |
|
22 | + */ |
|
20 | 23 | public function __construct($type, $id) |
21 | 24 | { |
22 | 25 | $this->id = $id; |
@@ -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 | } |