Passed
Push — master ( 1cbe8d...df334d )
by Songda
05:08 queued 02:57
created
src/Event/CallbackReceived.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
     public ?array $params = null;
15 15
 
16
-    public null|array|ServerRequestInterface $contents;
16
+    public null | array | ServerRequestInterface $contents;
17 17
 
18
-    public function __construct(string $provider, null|array|ServerRequestInterface $contents, ?array $params = null, ?Rocket $rocket = null)
18
+    public function __construct(string $provider, null | array | ServerRequestInterface $contents, ?array $params = null, ?Rocket $rocket = null)
19 19
     {
20 20
         $this->provider = $provider;
21 21
         $this->contents = $contents;
Please login to merge, or discard this patch.
src/Shortcut/Alipay/QueryShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function getPlugins(array $params): array
42 42
     {
43
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
43
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
44 44
 
45 45
         if (isset($params['out_request_no'])) {
46 46
             return $this->refundPlugins();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/CloseShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/RefundShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Shortcut/Alipay/CancelShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function getPlugins(array $params): array
34 34
     {
35
-        $method = Str::camel($params['_action'] ?? 'default').'Plugins';
35
+        $method = Str::camel($params['_action'] ?? 'default') . 'Plugins';
36 36
 
37 37
         if (method_exists($this, $method)) {
38 38
             return $this->{$method}();
Please login to merge, or discard this patch.
src/Shortcut/Unipay/QueryShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_action'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_action'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Shortcut/Unipay/ScanShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_action'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_action'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Shortcut/Unipay/PosShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_action'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_action'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.
src/Shortcut/Unipay/RefundShortcut.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function getPlugins(array $params): array
19 19
     {
20
-        $typeMethod = Str::camel($params['_action'] ?? 'default').'Plugins';
20
+        $typeMethod = Str::camel($params['_action'] ?? 'default') . 'Plugins';
21 21
 
22 22
         if (method_exists($this, $typeMethod)) {
23 23
             return $this->{$typeMethod}();
Please login to merge, or discard this patch.