@@ -39,8 +39,7 @@ |
||
39 | 39 | * __construct. |
40 | 40 | * |
41 | 41 | * @param \Illuminate\Contracts\View\Factory $viewFactory |
42 | - * @param \Illuminate\Http\Request $httpRrequest |
|
43 | - * @param string $templateName |
|
42 | + * @param \Illuminate\Http\Request $request |
|
44 | 43 | */ |
45 | 44 | public function __construct(ViewFactory $viewFactory, Request $request) |
46 | 45 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * __construct. |
26 | 26 | * |
27 | - * @param \Payum\Core\Model\PaymentInterface $status |
|
27 | + * @param GetStatusInterface $status |
|
28 | 28 | * @param \Payum\Core\Model\PaymentInterface $payment |
29 | 29 | */ |
30 | 30 | public function __construct(GetStatusInterface $status, PaymentInterface $payment) |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * getCreditCard. |
168 | 168 | * |
169 | - * @return mixed |
|
169 | + * @return CreditCardInterface |
|
170 | 170 | */ |
171 | 171 | public function getCreditCard() |
172 | 172 | { |
@@ -186,7 +186,6 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * setStatus. |
188 | 188 | * |
189 | - * @param CreditCardInterface $creditCard |
|
190 | 189 | */ |
191 | 190 | public function setStatus($status) |
192 | 191 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @param string $afterPath |
106 | 106 | * @param array $afterParameters |
107 | 107 | * @param string $tokenType |
108 | - * @return mixed |
|
108 | + * @return \Illuminate\Http\RedirectResponse |
|
109 | 109 | */ |
110 | 110 | public function request($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = [], $tokenType = 'Capture') |
111 | 111 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @param string $afterPath |
134 | 134 | * @param array $afterParameters |
135 | 135 | * @param string $tokenType |
136 | - * @return mixed |
|
136 | + * @return \Illuminate\Http\RedirectResponse |
|
137 | 137 | */ |
138 | 138 | public function prepare($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = [], $tokenType = 'Capture') |
139 | 139 | { |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * @param callable $closure |
148 | 148 | * @param string $afterPath |
149 | 149 | * @param array $afterParameters |
150 | - * @return mixed |
|
150 | + * @return \Illuminate\Http\RedirectResponse |
|
151 | 151 | */ |
152 | 152 | public function capture($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
153 | 153 | { |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | * @param callable $closure |
162 | 162 | * @param string $afterPath |
163 | 163 | * @param array $afterParameters |
164 | - * @return mixed |
|
164 | + * @return \Illuminate\Http\RedirectResponse |
|
165 | 165 | */ |
166 | 166 | public function authorize($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
167 | 167 | { |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * @param callable $closure |
176 | 176 | * @param string $afterPath |
177 | 177 | * @param array $afterParameters |
178 | - * @return mixed |
|
178 | + * @return \Illuminate\Http\RedirectResponse |
|
179 | 179 | */ |
180 | 180 | public function refund($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
181 | 181 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * @param callable $closure |
190 | 190 | * @param string $afterPath |
191 | 191 | * @param array $afterParameters |
192 | - * @return mixed |
|
192 | + * @return \Illuminate\Http\RedirectResponse |
|
193 | 193 | */ |
194 | 194 | public function cancel($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
195 | 195 | { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * @param callable $closure |
204 | 204 | * @param string $afterPath |
205 | 205 | * @param array $afterParameters |
206 | - * @return mixed |
|
206 | + * @return \Illuminate\Http\RedirectResponse |
|
207 | 207 | */ |
208 | 208 | public function payout($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
209 | 209 | { |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | * receiveNotifyUnsafe. |
289 | 289 | * |
290 | 290 | * @param string $gatewayName |
291 | - * @return mixed |
|
291 | + * @return \Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response |
|
292 | 292 | */ |
293 | 293 | public function receiveNotifyUnsafe($gatewayName) |
294 | 294 | { |
@@ -428,8 +428,7 @@ discard block |
||
428 | 428 | /** |
429 | 429 | * getSessionFromRequest. |
430 | 430 | * |
431 | - * @param \Illuminate\Http\Request $request |
|
432 | - * @return \Illuminate\Session\SessionInterface |
|
431 | + * @return \Symfony\Component\HttpFoundation\Session\SessionInterface|null |
|
433 | 432 | */ |
434 | 433 | protected function getSessionFromRequest() |
435 | 434 | { |