Test Failed
Push — master ( cf61d2...d4f0dd )
by Robin
02:18
created

ProjectClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 11
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A retrieve() 0 4 1
1
<?php
2
3
namespace Konsulting\JustGivingApiSdk\ResourceClients;
4
5
class ProjectClient extends BaseClient
6
{
7
    protected $aliases = [
8
        'retrieve' => 'GetGlobalProjectById',
9
    ];
10
11
    public function retrieve($projectId)
12
    {
13
        return $this->get("project/global/" . $projectId);
14
    }
15
}
16