Gateway   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 3 1
1
<?php
2
3
namespace Scrumban\Gateway;
4
5
abstract class Gateway implements GatewayInterface
6
{
7
    public function get($url)
8
    {
9
        return json_decode($this->client->get($url)->getBody()->getContents(), true);
10
    }
11
}