Passed
Push — master ( 11fc35...3107c6 )
by ma
02:50
created
src/Provider/BaseProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     public function callback($contents)
48 48
     {
49
-        $params = array_map(function ($value) {
49
+        $params = array_map(function($value) {
50 50
             return urldecode($value);
51 51
         }, $contents);
52 52
         $md5Key = $this->config['md5key'];
Please login to merge, or discard this patch.
src/Provider/Contract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     public function __call(string $shortcut, array $params)
28 28
     {
29
-        $class = '\\tinymeng\\Chinaums\\Service\\'.__CLASS__.'\\' . Str::studly($shortcut);
29
+        $class = '\\tinymeng\\Chinaums\\Service\\' . __CLASS__ . '\\' . Str::studly($shortcut);
30 30
         $objcet = new $class();
31 31
         $objcet->setConfig($this->config);
32 32
         return $objcet;
Please login to merge, or discard this patch.
src/Service/Contract/NmrsDocChange.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','merNo','pic_list'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'merNo', 'pic_list'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/Service/Contract/AgreementSign.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         try {
39 39
             $this->validate();
40 40
             $data = $this->body;
41
-            $gateway  = $this->config['gateway'] . $this->api;
41
+            $gateway = $this->config['gateway'] . $this->api;
42 42
             $data = json_encode($data);
43 43
             $sign = hash('sha256', $data);
44 44
             $method = $this->method;
Please login to merge, or discard this patch.
src/Service/Contract/AlterQry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','ums_reg_id'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'ums_reg_id'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/Service/Contract/ComplexAlterAcctinfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,5 +24,5 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date','request_seq','mer_no','alter_bank_acct_no','alter_bank_no','pic_list'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'mer_no', 'alter_bank_acct_no', 'alter_bank_no', 'pic_list'];
28 28
 }
Please login to merge, or discard this patch.
src/Service/Contract/MerAlter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@
 block discarded – undo
52 52
         try {
53 53
             $this->validate();
54 54
             $data = $this->body;
55
-            $gateway  = $this->config['gateway'] . $this->api;
55
+            $gateway = $this->config['gateway'] . $this->api;
56 56
             if (strtoupper($this->platform) == 'PC') {
57
-                $gateway  = $this->config['gateway'] . $this->PCapi;
57
+                $gateway = $this->config['gateway'] . $this->PCapi;
58 58
             }
59 59
             $data = json_encode($data);
60 60
             $sign = hash('sha256', $data);
Please login to merge, or discard this patch.
src/Service/Contract/BranchBankList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','areaCode','key'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'areaCode', 'key'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.
src/Service/Contract/DcepSmsSend.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      * 必传的值
25 25
      * @var array
26 26
      */
27
-    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq','mobileNo'];
27
+    protected $require = ['service', 'accesser_id', 'sign_type', 'request_date', 'request_seq', 'mobileNo'];
28 28
 
29 29
 }
Please login to merge, or discard this patch.