Passed
Push — master ( d4f0dd...ebfa4f )
by Robin
05:37
created

CurrencyClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

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