Contact   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 1
c 1
b 0
f 1
dl 0
loc 17
ccs 1
cts 1
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 15 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Swis\Melvin\Models;
6
7
class Contact
8
{
9 6
    public function __construct(
10
        public int $contactId,
11
        public string $firstName,
12
        public string $prefix,
13
        public string $lastName,
14
        public string $email,
15
        public string $phone,
16
        public ?string $organisation,
17
        public int $parentSituationId,
18
        public string $function,
19
        public string $publicPhone,
20
        public bool $active,
21
        public int $createdById,
22
        public int $changedById
23
    ) {
24 6
    }
25
}
26