CredentialsMock   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getPartnerPath() 0 1 1
A getCryptKey() 0 1 1
A getHash() 0 1 1
A getApiHost() 0 1 1
1
<?php
2
3
namespace Promopult\Integra\Test;
4
5
class CredentialsMock implements \Promopult\Integra\CredentialsInterface
6
{
7
    public function getHash(): string { return 'hash'; }
8
    public function getCryptKey(): string { return 'key'; }
9
    public function getPartnerPath(): string { return 'path'; }
10
    public function getApiHost(): string { return 'host'; }
11
}
12