NullHttpCache   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 14
ccs 0
cts 4
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A transfer() 0 3 1
A isNotModified() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Sunday\Extension\Transfer;
6
7
use Override;
8
9
final class NullHttpCache implements HttpCacheInterface
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    #[Override]
15
    public function isNotModified(array $server): bool
16
    {
17
        return false;
18
    }
19
20
    #[Override]
21
    public function transfer(): void
22
    {
23
    }
24
}
25