Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | public static function create() |
||
16 | { |
||
17 | return [ |
||
18 | RouteInterface::METHOD_KEY => RouteInterface::POST_METHOD, |
||
19 | RouteInterface::ENDPOINT_KEY => Transferrecipient::root(), |
||
20 | RouteInterface::PARAMS_KEY => ['type', |
||
21 | 'name', |
||
22 | 'description', |
||
23 | 'metadata', |
||
24 | 'bank_code', |
||
25 | 'currency', |
||
26 | 'account_number' ], |
||
27 | RouteInterface::REQUIRED_KEY => [ |
||
28 | RouteInterface::PARAMS_KEY => ['type', |
||
29 | 'name', |
||
30 | 'bank_code', |
||
31 | 'account_number' ] |
||
32 | ] |
||
33 | ]; |
||
34 | } |
||
35 | |||
46 |