@@ -41,8 +41,7 @@ |
||
| 41 | 41 | * @method __construct |
| 42 | 42 | * |
| 43 | 43 | * @param \Illuminate\Contracts\View\Factory $viewFactory |
| 44 | - * @param \Illuminate\Http\Request $httpRrequest |
|
| 45 | - * @param string $templateName |
|
| 44 | + * @param \Illuminate\Http\Request $request |
|
| 46 | 45 | */ |
| 47 | 46 | public function __construct(ViewFactory $viewFactory, Request $request) |
| 48 | 47 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * |
| 10 | 10 | * @method setStatus |
| 11 | 11 | * |
| 12 | - * @param CreditCardInterface $creditCard |
|
| 12 | + * @return void |
|
| 13 | 13 | */ |
| 14 | 14 | public function setStatus($status); |
| 15 | 15 | |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * |
| 197 | 197 | * @method getCreditCard |
| 198 | 198 | * |
| 199 | - * @return mixed |
|
| 199 | + * @return CreditCardInterface |
|
| 200 | 200 | */ |
| 201 | 201 | public function getCreditCard() |
| 202 | 202 | { |
@@ -220,7 +220,6 @@ discard block |
||
| 220 | 220 | * |
| 221 | 221 | * @method setStatus |
| 222 | 222 | * |
| 223 | - * @param CreditCardInterface $creditCard |
|
| 224 | 223 | */ |
| 225 | 224 | public function setStatus($status) |
| 226 | 225 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * @param array $afterParameters |
| 116 | 116 | * @param string $tokenType |
| 117 | 117 | * |
| 118 | - * @return mixed |
|
| 118 | + * @return \Illuminate\Http\RedirectResponse |
|
| 119 | 119 | */ |
| 120 | 120 | public function request($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = [], $tokenType = 'Capture') |
| 121 | 121 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * @param array $afterParameters |
| 147 | 147 | * @param string $tokenType |
| 148 | 148 | * |
| 149 | - * @return mixed |
|
| 149 | + * @return \Illuminate\Http\RedirectResponse |
|
| 150 | 150 | */ |
| 151 | 151 | public function prepare($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = [], $tokenType = 'Capture') |
| 152 | 152 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * @param string $afterPath |
| 164 | 164 | * @param array $afterParameters |
| 165 | 165 | * |
| 166 | - * @return mixed |
|
| 166 | + * @return \Illuminate\Http\RedirectResponse |
|
| 167 | 167 | */ |
| 168 | 168 | public function capture($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
| 169 | 169 | { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * @param string $afterPath |
| 181 | 181 | * @param array $afterParameters |
| 182 | 182 | * |
| 183 | - * @return mixed |
|
| 183 | + * @return \Illuminate\Http\RedirectResponse |
|
| 184 | 184 | */ |
| 185 | 185 | public function authorize($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
| 186 | 186 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | * @param string $afterPath |
| 198 | 198 | * @param array $afterParameters |
| 199 | 199 | * |
| 200 | - * @return mixed |
|
| 200 | + * @return \Illuminate\Http\RedirectResponse |
|
| 201 | 201 | */ |
| 202 | 202 | public function refund($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
| 203 | 203 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * @param string $afterPath |
| 215 | 215 | * @param array $afterParameters |
| 216 | 216 | * |
| 217 | - * @return mixed |
|
| 217 | + * @return \Illuminate\Http\RedirectResponse |
|
| 218 | 218 | */ |
| 219 | 219 | public function cancel($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
| 220 | 220 | { |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | * @param string $afterPath |
| 232 | 232 | * @param array $afterParameters |
| 233 | 233 | * |
| 234 | - * @return mixed |
|
| 234 | + * @return \Illuminate\Http\RedirectResponse |
|
| 235 | 235 | */ |
| 236 | 236 | public function payout($gatewayName, callable $closure, $afterPath = 'payment.done', array $afterParameters = []) |
| 237 | 237 | { |
@@ -331,7 +331,7 @@ discard block |
||
| 331 | 331 | * |
| 332 | 332 | * @param string $gatewayName |
| 333 | 333 | * |
| 334 | - * @return mixed |
|
| 334 | + * @return \Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response |
|
| 335 | 335 | */ |
| 336 | 336 | public function receiveNotifyUnsafe($gatewayName) |
| 337 | 337 | { |
@@ -493,9 +493,8 @@ discard block |
||
| 493 | 493 | * |
| 494 | 494 | * @method getSessionFromRequest |
| 495 | 495 | * |
| 496 | - * @param \Illuminate\Http\Request $request |
|
| 497 | 496 | * |
| 498 | - * @return \Illuminate\Session\SessionInterface |
|
| 497 | + * @return \Symfony\Component\HttpFoundation\Session\SessionInterface|null |
|
| 499 | 498 | */ |
| 500 | 499 | protected function getSessionFromRequest() |
| 501 | 500 | { |