@@ -104,7 +104,7 @@ |
||
104 | 104 | /** |
105 | 105 | * @param Transaction $transaction |
106 | 106 | * @param string|array $response |
107 | - * @return mixed |
|
107 | + * @return Transaction |
|
108 | 108 | * @throws \yii\base\ExitException |
109 | 109 | */ |
110 | 110 | protected function completeTransaction($transaction, $response) |
@@ -202,11 +202,17 @@ |
||
202 | 202 | ]); |
203 | 203 | } |
204 | 204 | |
205 | + /** |
|
206 | + * @param Bill $model |
|
207 | + */ |
|
205 | 208 | public function tariffLink($model): string |
206 | 209 | { |
207 | 210 | return Html::a($model->tariff, ['@tariff/view', 'id' => $model->tariff_id]); |
208 | 211 | } |
209 | 212 | |
213 | + /** |
|
214 | + * @param Bill $model |
|
215 | + */ |
|
210 | 216 | public function objectTag($model): string |
211 | 217 | { |
212 | 218 | return $model->object ? implode(': ', [$model->class_label, $this->objectLink($model)]) : ''; |