Translations::kauNoAuthTreeSet()   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
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace kalanis\kw_auth;
4
5
6
use kalanis\kw_auth\Interfaces\IKauTranslations;
7
8
9
/**
10
 * Class Translations
11
 * @package kalanis\kw_auth
12
 */
13
class Translations implements IKauTranslations
14
{
15
    /**
16
     * @return string
17
     * @codeCoverageIgnore processing bans
18
     */
19 2
    public function kauBanWantedUser(): string
20
    {
21 2
        return 'Accessing user is banned!';
22
    }
23
24
    /**
25
     * @return string
26
     * @codeCoverageIgnore processing sessions
27
     */
28
    public function kauTooManyTries(): string
29
    {
30
        return 'Too many tries!';
31
    }
32
33 1
    public function kauNoAuthTreeSet(): string
34
    {
35 1
        return 'No auth tree set!';
36
    }
37
}
38