@@ -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) |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param Bill|BillForm $bill |
|
56 | + * @param Bill $bill |
|
57 | 57 | * @return QuantityFormatterInterface|null |
58 | 58 | */ |
59 | 59 | public function forBill($bill): ?QuantityFormatterInterface |
@@ -84,6 +84,9 @@ discard block |
||
84 | 84 | return null; |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $type |
|
89 | + */ |
|
87 | 90 | private function fixType($type): string |
88 | 91 | { |
89 | 92 | if (strpos($type, ',') !== false) { |