AddressChangeData   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace WMDE\Fundraising\AddressChangeContext\UseCases\ReadAddressChange;
6
7
class AddressChangeData {
8
9
	/**
10
	 * @param string $identifier
11
	 * @param string $previousIdentifier
12
	 * @param array<string, mixed> $address
13
	 * @param bool $donationReceipt
14
	 * @param string $exportState
15
	 */
16 2
	public function __construct(
17
		public string $identifier,
18
		public string $previousIdentifier,
19
		public array $address,
20
		public bool $donationReceipt,
21
		public string $exportState
22
	) {
23 2
	}
24
}
25