Skip to content

Commit 5b053cc

Browse files
authored
Merge pull request #60 from kaspernowak/patch-1
Fix Remove deprecated address field from DTO
2 parents 08a7f20 + 26087ff commit 5b053cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Dto/Contacts/CreateEditContactDTO.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function __construct(
2020
public ?int $salutation_form = null,
2121
public ?int $titel_id = null, // ref to title
2222
public ?Carbon $birthday = null,
23-
public ?string $address = null, // deprecated
2423
public ?string $street_name = null,
2524
public ?string $house_number = null,
2625
public ?string $address_addition = null,
@@ -68,7 +67,6 @@ public static function fromArray(array $data): self
6867
salutation_form: Arr::get($data, 'salutation_form'),
6968
titel_id: Arr::get($data, 'title_id'),
7069
birthday: Arr::get($data, 'birthday'),
71-
address: Arr::get($data, 'address'),
7270
street_name: Arr::get($data, 'street_name'),
7371
house_number: Arr::get($data, 'house_number'),
7472
address_addition: Arr::get($data, 'address_addition'),

0 commit comments

Comments
 (0)