Groups   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 25
ccs 10
cts 10
cp 1
rs 10
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getGroupDataOnly() 0 3 1
A updateGroup() 0 3 1
A createGroup() 0 3 1
A readGroup() 0 3 1
A deleteGroup() 0 3 1
1
<?php
2
3
namespace kalanis\kw_auth_sources\Sources\Dummy;
4
5
6
use kalanis\kw_accounts\Interfaces;
7
8
9
/**
10
 * Class Groups
11
 * @package kalanis\kw_auth_sources\Sources\Dummy
12
 * Work with groups of users - but not with this one
13
 */
14
class Groups implements Interfaces\IProcessGroups
15
{
16 1
    public function createGroup(Interfaces\IGroup $group): bool
17
    {
18 1
        return false;
19
    }
20
21 1
    public function getGroupDataOnly(string $groupId): ?Interfaces\IGroup
22
    {
23 1
        return null;
24
    }
25
26 1
    public function readGroup(): array
27
    {
28 1
        return [];
29
    }
30
31 1
    public function updateGroup(Interfaces\IGroup $group): bool
32
    {
33 1
        return false;
34
    }
35
36 1
    public function deleteGroup(string $groupId): bool
37
    {
38 1
        return false;
39
    }
40
}
41