Completed
Branch master (8f378a)
by recca
08:53
created
src/Action/Api/BaseApiAwareAction.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace PayumTW\Collect\Action\Api;
4 4
 
5 5
 use PayumTW\Collect\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
Please login to merge, or discard this patch.
src/Action/CaptureAction.php 1 patch
Unused Use Statements   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,17 +2,17 @@
 block discarded – undo
2 2
 
3 3
 namespace PayumTW\Collect\Action;
4 4
 
5
-use Payum\Core\Request\Capture;
6
-use Payum\Core\GatewayAwareTrait;
7
-use Payum\Core\GatewayAwareInterface;
8
-use Payum\Core\Action\ActionInterface;
9
-use Payum\Core\Bridge\Spl\ArrayObject;
10
-use Payum\Core\Request\GetHttpRequest;
11 5
 use PayumTW\Collect\Action\Api\BaseApiAwareAction;
12 6
 use PayumTW\Collect\Request\Api\CreateTransaction;
7
+use Payum\Core\Action\ActionInterface;
8
+use Payum\Core\Bridge\Spl\ArrayObject;
13 9
 use Payum\Core\Exception\RequestNotSupportedException;
14
-use Payum\Core\Security\GenericTokenFactoryAwareTrait;
10
+use Payum\Core\GatewayAwareInterface;
11
+use Payum\Core\GatewayAwareTrait;
12
+use Payum\Core\Request\Capture;
13
+use Payum\Core\Request\GetHttpRequest;
15 14
 use Payum\Core\Security\GenericTokenFactoryAwareInterface;
15
+use Payum\Core\Security\GenericTokenFactoryAwareTrait;
16 16
 
17 17
 class CaptureAction extends BaseApiAwareAction implements ActionInterface, GatewayAwareInterface, GenericTokenFactoryAwareInterface
18 18
 {
Please login to merge, or discard this patch.
src/Api.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param array $fields
50 49
      *
51
-     * @return array
50
+     * @param string $method
51
+     * @return string
52 52
      */
53 53
     protected function doRequest($method, $params, $type = 'cancel', $isJson = true)
54 54
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace PayumTW\Collect;
4 4
 
5 5
 use Http\Message\MessageFactory;
6
-use Payum\Core\HttpClientInterface;
7 6
 use Payum\Core\Exception\Http\HttpException;
7
+use Payum\Core\HttpClientInterface;
8 8
 
9 9
 abstract class Api
10 10
 {
Please login to merge, or discard this patch.