@@ -106,7 +106,7 @@ |
||
| 106 | 106 | public function dispatcher(string $gateway, array $array = []) |
| 107 | 107 | { |
| 108 | 108 | $this->payload['biz_content'] = $array; |
| 109 | - $class = \get_class($this) . '\\' . Str::studly($gateway) . 'Payment'; |
|
| 109 | + $class = \get_class($this).'\\'.Str::studly($gateway).'Payment'; |
|
| 110 | 110 | |
| 111 | 111 | if (class_exists($class)) { |
| 112 | 112 | return $this->toPay($class); |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | private function dispatcher(string $gateway, array $array = []) |
| 87 | 87 | { |
| 88 | 88 | $this->payload = array_merge($this->payload, $array); |
| 89 | - $class = \get_class($this) . '\\' . Str::studly($gateway) . 'Payment'; |
|
| 89 | + $class = \get_class($this).'\\'.Str::studly($gateway).'Payment'; |
|
| 90 | 90 | |
| 91 | 91 | if (class_exists($class)) { |
| 92 | 92 | return $this->toPay($class); |