Passed
Push — master ( 12c564...fbc502 )
by Petr
08:15
created

Translations::stCannotCloseFile()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace kalanis\kw_storage;
4
5
6
use kalanis\kw_storage\Interfaces\IStTranslations;
7
8
9
/**
10
 * Class Translations
11
 * @package kalanis\kw_storage
12
 */
13
class Translations implements IStTranslations
14
{
15 1
    public function stCannotReadKey(): string
16
    {
17 1
        return 'Cannot read key';
18
    }
19
20 4
    public function stCannotReadFile(): string
21
    {
22 4
        return 'Cannot read file';
23
    }
24
25 1
    public function stStorageNotInitialized(): string
26
    {
27 1
        return 'Storage not initialized';
28
    }
29
30 1
    public function stPathNotFound(): string
31
    {
32 1
        return 'Path in storage not found.';
33
    }
34
35 20
    public function stConfigurationUnavailable(): string
36
    {
37 20
        return 'This configuration is not available.';
38
    }
39
}
40