Passed
Push — main ( 901a88...cf9313 )
by Chema
52s queued 13s
created

ClassWithRelationship   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Fake;
6
7
final class ClassWithRelationship
8
{
9
    public function __construct(
10
        public Person $person1,
11
        public Person $person2,
12
    ) {
13
    }
14
}
15