Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | final class Pair implements Argument |
||
13 | { |
||
14 | private $key; |
||
15 | private $value; |
||
16 | |||
17 | 6 | public function __construct(Argument $key, Argument $value) |
|
18 | { |
||
19 | 6 | $this->key = new Lazy($key); |
|
20 | 6 | $this->value = new Lazy($value); |
|
21 | 6 | } |
|
22 | |||
23 | 1 | public function method(): MethodName |
|
26 | } |
||
27 | |||
28 | 3 | public function __toString(): string |
|
38 |