Passed
Push — master ( 6acad1...7c550d )
by Petr
08:00
created

Translations::stCannotReadKey()   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 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 2
cts 2
cp 1
crap 1
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 6
    public function stCannotReadFile(): string
21
    {
22 6
        return 'Cannot read file';
23
    }
24
25
    /**
26
     * @return string
27
     * @codeCoverageIgnore VolumeStream
28
     */
29
    public function stCannotOpenFile(): string
30
    {
31
        return 'Cannot open file';
32
    }
33
34
    /**
35
     * @return string
36
     * @codeCoverageIgnore VolumeStream
37
     */
38
    public function stCannotSaveFile(): string
39
    {
40
        return 'Cannot save file';
41
    }
42
43
    /**
44
     * @return string
45
     * @codeCoverageIgnore VolumeStream
46
     */
47
    public function stCannotSeekFile(): string
48
    {
49
        return 'Cannot seek in file';
50
    }
51
52
    /**
53
     * @return string
54
     * @codeCoverageIgnore VolumeStream
55
     */
56
    public function stCannotCloseFile(): string
57
    {
58
        return 'Cannot close opened file';
59
    }
60
61 1
    public function stStorageNotInitialized(): string
62
    {
63 1
        return 'Storage not initialized';
64
    }
65
}
66