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