@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace PayumTW\Mypay\Action\Api; |
| 4 | 4 | |
| 5 | 5 | use PayumTW\Mypay\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,23 +2,23 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace PayumTW\Mypay; |
| 4 | 4 | |
| 5 | -use LogicException; |
|
| 6 | -use Payum\Core\GatewayFactory; |
|
| 7 | -use PayumTW\Mypay\Action\SyncAction; |
|
| 8 | -use Payum\Core\Bridge\Spl\ArrayObject; |
|
| 9 | -use PayumTW\Mypay\Action\NotifyAction; |
|
| 10 | -use PayumTW\Mypay\Action\StatusAction; |
|
| 11 | -use PayumTW\Mypay\Action\CaptureAction; |
|
| 12 | -use PayumTW\Mypay\Action\NotifyNullAction; |
|
| 13 | -use Payum\Core\Bridge\Httplug\HttplugClient; |
|
| 14 | -use Http\Client\Curl\Client as HttpCurlClient; |
|
| 15 | -use PayumTW\Mypay\Action\ConvertPaymentAction; |
|
| 16 | 5 | use Http\Adapter\Buzz\Client as HttpBuzzClient; |
| 17 | -use Http\Client\Socket\Client as HttpSocketClient; |
|
| 18 | 6 | use Http\Adapter\Guzzle5\Client as HttpGuzzle5Client; |
| 19 | 7 | use Http\Adapter\Guzzle6\Client as HttpGuzzle6Client; |
| 8 | +use Http\Client\Curl\Client as HttpCurlClient; |
|
| 9 | +use Http\Client\Socket\Client as HttpSocketClient; |
|
| 10 | +use LogicException; |
|
| 20 | 11 | use PayumTW\Mypay\Action\Api\CreateTransactionAction; |
| 21 | 12 | use PayumTW\Mypay\Action\Api\GetTransactionDataAction; |
| 13 | +use PayumTW\Mypay\Action\CaptureAction; |
|
| 14 | +use PayumTW\Mypay\Action\ConvertPaymentAction; |
|
| 15 | +use PayumTW\Mypay\Action\NotifyAction; |
|
| 16 | +use PayumTW\Mypay\Action\NotifyNullAction; |
|
| 17 | +use PayumTW\Mypay\Action\StatusAction; |
|
| 18 | +use PayumTW\Mypay\Action\SyncAction; |
|
| 19 | +use Payum\Core\Bridge\Httplug\HttplugClient; |
|
| 20 | +use Payum\Core\Bridge\Spl\ArrayObject; |
|
| 21 | +use Payum\Core\GatewayFactory; |
|
| 22 | 22 | |
| 23 | 23 | class MypayGatewayFactory extends GatewayFactory |
| 24 | 24 | { |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * getDefaultHttpClient. |
| 27 | 27 | * |
| 28 | - * @param \Payum\Core\Bridge\Spl\ArrayObject|array $config |
|
| 28 | + * @param ArrayObject $config |
|
| 29 | 29 | * @return \Http\Client\HttpClient |
| 30 | 30 | */ |
| 31 | 31 | public function getDefaultHttpClient($config) |