Completed
Push — master ( f42240...eecbac )
by recca
24:30 queued 14:34
created
src/Api.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace PayumTW\Ecpay;
4 4
 
5
-use Exception;
6 5
 use Detection\MobileDetect;
6
+use Exception;
7 7
 
8 8
 abstract class Api
9 9
 {
Please login to merge, or discard this patch.
sdk/ECPay.Logistics.Integration.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1600,7 +1600,6 @@  discard block
 block discarded – undo
1600 1600
          * @category	Validate
1601 1601
          * @param		string	$Name		參數名稱
1602 1602
          * @param		string	$Value		參數內容
1603
-         * @param		int	$MaxLength	參數最大長度
1604 1603
          * @param		bool	$AllowEmpty	是否允許空值
1605 1604
          * @version		1.0.1012
1606 1605
          */
@@ -2076,7 +2075,7 @@  discard block
 block discarded – undo
2076 2075
          * @category	Validate
2077 2076
          * @param		string	$Name		參數名稱
2078 2077
          * @param		bool	$AllowEmpty	是否允許空值
2079
-         * @return		bool
2078
+         * @return		boolean|null
2080 2079
          * @version		1.0.1012
2081 2080
          */
2082 2081
         private function IsAllowEmpty($Name, $AllowEmpty)
@@ -2412,6 +2411,8 @@  discard block
 block discarded – undo
2412 2411
              * 參數內特殊字元取代
2413 2412
              * 傳入	$sParameters	參數
2414 2413
              * 傳出	$sParameters	回傳取代後變數.
2414
+             * @param string $sParameters
2415
+             * @return string
2415 2416
              */
2416 2417
             public static function Replace_Symbol($sParameters)
2417 2418
             {
@@ -2466,6 +2467,10 @@  discard block
 block discarded – undo
2466 2467
     if (! class_exists('ECPay_IO', true)) {
2467 2468
         class ECPay_IO
2468 2469
         {
2470
+
2471
+            /**
2472
+             * @param string $ServiceURL
2473
+             */
2469 2474
             public static function ServerPost($parameters, $ServiceURL)
2470 2475
             {
2471 2476
                 $sSend_Info = '';
Please login to merge, or discard this patch.
sdk/ECPay.Payment.Integration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -505,6 +505,9 @@
 block discarded – undo
505 505
  */
506 506
 abstract class ECPay_Aio
507 507
 {
508
+    /**
509
+     * @param string $ServiceURL
510
+     */
508 511
     protected static function ServerPost($parameters, $ServiceURL)
509 512
     {
510 513
         $ch = curl_init();
Please login to merge, or discard this patch.
src/EcpayApi.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use ECPay_DeviceType;
6 6
 use ECPay_InvoiceState;
7
-use PayumTW\Ecpay\Sdk\AllInOne;
8 7
 use Http\Message\MessageFactory;
8
+use PayumTW\Ecpay\Sdk\AllInOne;
9 9
 use Payum\Core\HttpClientInterface;
10 10
 
11 11
 class EcpayApi extends Api
Please login to merge, or discard this patch.
src/EcpayLogisticsApi.php 1 patch
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -4,15 +4,15 @@
 block discarded – undo
4 4
 
5 5
 use Device;
6 6
 use Distance;
7
-use Temperature;
7
+use Http\Message\MessageFactory;
8 8
 use IsCollection;
9
-use LogisticsType;
10
-use Specification;
11 9
 use LogisticsSubType;
12
-use ScheduledPickupTime;
13
-use Http\Message\MessageFactory;
14
-use Payum\Core\HttpClientInterface;
10
+use LogisticsType;
15 11
 use PayumTW\Ecpay\Sdk\EcpayLogistics;
12
+use Payum\Core\HttpClientInterface;
13
+use ScheduledPickupTime;
14
+use Specification;
15
+use Temperature;
16 16
 
17 17
 class EcpayLogisticsApi extends Api
18 18
 {
Please login to merge, or discard this patch.