@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace PayumTW\Esunbank\Action\Api; |
| 4 | 4 | |
| 5 | 5 | use PayumTW\Esunbank\Api; |
| 6 | -use Payum\Core\ApiAwareInterface; |
|
| 7 | 6 | use Payum\Core\Action\ActionInterface; |
| 7 | +use Payum\Core\ApiAwareInterface; |
|
| 8 | 8 | use Payum\Core\Exception\UnsupportedApiException; |
| 9 | 9 | |
| 10 | 10 | abstract class BaseApiAwareAction implements ActionInterface, ApiAwareInterface |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace PayumTW\Esunbank; |
| 4 | 4 | |
| 5 | -use LogicException; |
|
| 6 | 5 | use Detection\MobileDetect; |
| 7 | 6 | use Http\Message\MessageFactory; |
| 8 | -use Payum\Core\HttpClientInterface; |
|
| 7 | +use LogicException; |
|
| 9 | 8 | use Payum\Core\Exception\Http\HttpException; |
| 9 | +use Payum\Core\HttpClientInterface; |
|
| 10 | 10 | |
| 11 | 11 | class Api |
| 12 | 12 | { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @param array $options |
| 30 | 30 | * @param \Payum\Core\HttpClientInterface $client |
| 31 | 31 | * @param \Http\Message\MessageFactory $messageFactory |
| 32 | - * @param Encrypter $encrrypter |
|
| 32 | + * @param Encrypter $encrypter |
|
| 33 | 33 | * |
| 34 | 34 | * @throws \Payum\Core\Exception\InvalidArgumentException if an option is invalid |
| 35 | 35 | */ |
@@ -271,7 +271,6 @@ discard block |
||
| 271 | 271 | /** |
| 272 | 272 | * verifyHash. |
| 273 | 273 | * |
| 274 | - * @param array $params |
|
| 275 | 274 | * @return bool |
| 276 | 275 | */ |
| 277 | 276 | public function verifyHash($response) |