AddressChangeData::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
dl 0
loc 7
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 5
crap 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