@@ -74,7 +74,7 @@ |
||
74 | 74 | * Executes the purchase. |
75 | 75 | * Calls proper API commands to purchase the product. |
76 | 76 | * @throws ErrorPurchaseException in case of failed purchase |
77 | - * @return true if the item was purchased successfully |
|
77 | + * @return boolean if the item was purchased successfully |
|
78 | 78 | */ |
79 | 79 | public function execute() |
80 | 80 | { |
@@ -37,6 +37,9 @@ |
||
37 | 37 | } |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @param \hipanel\inputs\TextInput $type |
|
42 | + */ |
|
40 | 43 | private function renderTextInput($type) |
41 | 44 | { |
42 | 45 | $this->activeField->template = "{label}\n<div class=\"input-group\">{input}<span class=\"input-group-addon\">{unit}</span></div>\n{hint}\n{error}"; |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @param $type |
|
60 | + * @param string $type |
|
61 | 61 | * @param bool $stubWhenNotFound whether to return [[ServerResourceStub]] when |
62 | 62 | * the tariff does not have a relevant resource |
63 | 63 | * @return DomainResource|ServerResource|ServerResourceStub|resource |