Passed
Push — master ( b571e7...98bd46 )
by Petr
07:35
created

Translations::smCannotGetSemaphoreClass()   A

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 0
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_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 smCannotOpenSemaphore(): string
16
    {
17 1
        return 'Cannot open semaphore data';
18
    }
19
20 1
    public function smCannotSaveSemaphore(): string
21
    {
22 1
        return 'Cannot save semaphore data';
23
    }
24
25 1
    public function smCannotGetSemaphoreClass(): string
26
    {
27 1
        return 'Cannot determine semaphore class';
28
    }
29
}
30