Completed
Push — master ( 818334...c663d1 )
by recca
01:47
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\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
Please login to merge, or discard this patch.
src/Api.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace PayumTW\Mypay;
4 4
 
5
-use LogicException;
6 5
 use Http\Message\MessageFactory;
7
-use Payum\Core\HttpClientInterface;
6
+use LogicException;
8 7
 use Payum\Core\Exception\Http\HttpException;
8
+use Payum\Core\HttpClientInterface;
9 9
 
10 10
 class Api
11 11
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -258,6 +258,7 @@
 block discarded – undo
258 258
      * call.
259 259
      *
260 260
      * @param array $params
261
+     * @param string $cmd
261 262
      * @return array
262 263
      */
263 264
     protected function call($params, $cmd)
Please login to merge, or discard this patch.
src/MypayGatewayFactory.php 2 patches
Unused Use Statements   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -2,23 +2,23 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * getDefaultHttpClient
27 27
      *
28
-     * @param  Payum\Core\Bridge\Spl\ArrayObject|array $config [description]
28
+     * @param  ArrayObject $config [description]
29 29
      * @return \Http\Client\HttpClient
30 30
      */
31 31
     public function getDefaultHttpClient($config)
Please login to merge, or discard this patch.
src/Encrypter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     /**
113 113
      * pkcs5Unpad.
114 114
      *
115
-     * @param string $text
115
+     * @param string $plaintext
116 116
      * @return string
117 117
      */
118 118
     protected function pkcs5Unpad($plaintext)
Please login to merge, or discard this patch.