Passed
Push — master ( 0000af...b571e7 )
by Petr
07:35
created

Translations   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A mnCannotSaveSemaphore() 0 3 1
A mnCannotOpenSemaphore() 0 3 1
A mnCannotGetSemaphoreClass() 0 3 1
1
<?php
2
3
namespace kalanis\kw_semaphore;
4
5
6
use kalanis\kw_semaphore\Interfaces\ISMTranslations;
7
8
9
/**
10
 * Class Translations
11
 * @package kalanis\kw_semaphore
12
 */
13
class Translations implements ISMTranslations
14
{
15 1
    public function mnCannotOpenSemaphore(): string
16
    {
17 1
        return 'Cannot open semaphore data';
18
    }
19
20 1
    public function mnCannotSaveSemaphore(): string
21
    {
22 1
        return 'Cannot save semaphore data';
23
    }
24
25 1
    public function mnCannotGetSemaphoreClass(): string
26
    {
27 1
        return 'Cannot determine semaphore class';
28
    }
29
}
30