Pairs   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSet() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace dlindberg\BlobChunk\Manager;
6
7
final class Pairs extends NodeCheck
8
{
9
    public $sideA = [];
10
    public $sideB = [];
11
12
    public function getSet(\DOMNode $parent): Pairs
13
    {
14
        ['a' => $this->sideA, 'b' => $this->sideB] = $this->get($parent, $this->config->pairSets);
15
16
        return $this;
17
    }
18
}
19