Skip to content

Commit 8ca94f5

Browse files
committed
Add Stan ignore rules for entity ids
1 parent d2b4b2b commit 8ca94f5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Domain/Model/Address.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ class Address {
1212

1313
private const TYPE_COMPANY = 'company';
1414

15+
/**
16+
* @var int|null
17+
* @phpstan-ignore-next-line
18+
*/
1519
private ?int $id;
1620

1721
private string $salutation;

src/Domain/Model/AddressChange.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ class AddressChange {
2424
public const EXPORT_STATE_USED_NOT_EXPORTED = 'USED_NOT_EXPORTED';
2525
public const EXPORT_STATE_USED_EXPORTED = 'USED_EXPORTED';
2626

27+
/**
28+
* @var int|null
29+
* @phpstan-ignore-next-line
30+
*/
2731
private ?int $id;
2832

2933
private AddressChangeId $identifier;

0 commit comments

Comments
 (0)