@@ -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 |
@@ -103,6 +103,9 @@ discard block |
||
103 | 103 | return array_merge($response, $data); |
104 | 104 | } |
105 | 105 | |
106 | + /** |
|
107 | + * @param string $str |
|
108 | + */ |
|
106 | 109 | protected function parseStr($str) |
107 | 110 | { |
108 | 111 | $response = []; |
@@ -273,7 +276,6 @@ discard block |
||
273 | 276 | * |
274 | 277 | * @method verifyHash |
275 | 278 | * |
276 | - * @param array $params |
|
277 | 279 | * |
278 | 280 | * @return bool |
279 | 281 | */ |
@@ -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 | { |