AccountsCerts::updateCertData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace kalanis\kw_auth_sources\Sources\Dummy;
4
5
6
use kalanis\kw_accounts\Interfaces;
7
8
9
/**
10
 * Class AccountsCerts
11
 * @package kalanis\kw_auth_sources\Sources\Dummy
12
 * Dummy Authenticate class with certificates
13
 */
14
class AccountsCerts extends Accounts implements Interfaces\IAuthCert
15
{
16 1
    public function updateCertData(string $userName, ?string $certKey, ?string $certSalt): bool
17
    {
18 1
        return false;
19
    }
20
21 1
    public function getCertData(string $userName): ?Interfaces\ICert
22
    {
23 1
        return null;
24
    }
25
}
26