@@ -32,7 +32,7 @@ |
||
| 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}(); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | $destination = $rocket->getDestination(); |
| 25 | 25 | $payload = $rocket->getPayload(); |
| 26 | - $resultKey = str_replace('.', '_', $payload->get('method')).'_response'; |
|
| 26 | + $resultKey = str_replace('.', '_', $payload->get('method')) . '_response'; |
|
| 27 | 27 | |
| 28 | 28 | if (should_do_http_request($rocket->getDirection()) && $destination instanceof Collection) { |
| 29 | 29 | $rocket->setDestination(new Collection(array_merge( |
@@ -32,7 +32,7 @@ |
||
| 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}(); |
@@ -32,7 +32,7 @@ |
||
| 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}(); |
@@ -40,7 +40,7 @@ |
||
| 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(); |