Completed
Push — master ( 64e776...8a3d14 )
by Ibrahim
02:49
created

Settlement::getList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Yabacon\Paystack\Routes;
4
5
use Yabacon\Paystack\Contracts\RouteInterface;
6
7
class Settlement implements RouteInterface
8
{
9
10
    public static function root()
11
    {
12
        return '/settlement';
13
    }
14
15
    public static function getList()
16
    {
17
        return [ RouteInterface::METHOD_KEY   => RouteInterface::GET_METHOD,
18
            RouteInterface::ENDPOINT_KEY => Settlement::root() ];
19
    }
20
}
21