Header   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace BEAR\Sunday\Provide\Transfer;
6
7
use BEAR\Resource\ResourceObject;
8
9
final class Header implements HeaderInterface
10
{
11
    /**
12
     * {@inheritDoc}
13
     */
14
    public function __invoke(ResourceObject $ro, array $server): array
15
    {
16
        unset($server);
17
18
        return $ro->headers;
19
    }
20
}
21