Passed
Pull Request — master (#20)
by
unknown
02:47
created

NullRecord   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 1
c 1
b 0
f 1
dl 0
loc 4
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A save() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Efabrica\Translatte\Record;
6
7
class NullRecord implements RecordInterface
8
{
9
    public function save(string $message): void
10
    {
11
        // Nothing to do
12
    }
13
}
14