Completed
Push — master ( 200759...6ce54b )
by Ibrahim
02:21
created

Settlement   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
ccs 6
cts 6
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A root() 0 4 1
A getList() 0 7 1
1
<?php
2
3
namespace Yabacon\Paystack\Routes;
4
5
use Yabacon\Paystack\Contracts\RouteInterface;
6
7
class Settlement implements RouteInterface
8
{
9
10 3
    public static function root()
11
    {
12 3
        return '/settlement';
13
    }
14
15 2
    public static function getList()
16
    {
17
        return [
18 2
            RouteInterface::METHOD_KEY => RouteInterface::GET_METHOD,
19 2
            RouteInterface::ENDPOINT_KEY => Settlement::root(),
20 2
        ];
21
    }
22
}
23