Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 9 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
47 | View Code Duplication | public function send(array $params) |
|
48 | { |
||
49 | $base = [ |
||
50 | 'mchid' => $this->app['config']->mch_id, |
||
51 | 'mch_appid' => $this->app['config']->app_id, |
||
52 | ]; |
||
53 | |||
54 | return $this->safeRequest('mmpaymkttransfers/promotion/transfers', array_merge($base, $params)); |
||
55 | } |
||
56 | } |
||
57 |